summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Jones <cretin@gentoo.org>2003-07-09 19:25:47 +0000
committerStefan Jones <cretin@gentoo.org>2003-07-09 19:25:47 +0000
commitff43876fc835e1dcccaf13b174a67cef22b80507 (patch)
treeb3cbb11e17e6474f379a01c006df238bb668dfd2 /dev-tcltk/blt
parentVersion bump from CPAN (diff)
downloadgentoo-2-ff43876fc835e1dcccaf13b174a67cef22b80507.tar.gz
gentoo-2-ff43876fc835e1dcccaf13b174a67cef22b80507.tar.bz2
gentoo-2-ff43876fc835e1dcccaf13b174a67cef22b80507.zip
Modified Files:
Manifest blt-2.4z.ebuild Added Files: files/blt2.4z-install.diff Fix sandbox error
Diffstat (limited to 'dev-tcltk/blt')
-rw-r--r--dev-tcltk/blt/Manifest5
-rw-r--r--dev-tcltk/blt/blt-2.4z.ebuild13
-rw-r--r--dev-tcltk/blt/files/blt2.4z-install.diff26
3 files changed, 37 insertions, 7 deletions
diff --git a/dev-tcltk/blt/Manifest b/dev-tcltk/blt/Manifest
index cbdcb75a4f34..07864b7ebbe6 100644
--- a/dev-tcltk/blt/Manifest
+++ b/dev-tcltk/blt/Manifest
@@ -1,5 +1,6 @@
-MD5 472a8eb46fb5231bfba15233f9487696 blt-2.4z.ebuild 1029
+MD5 46d9ad4fbfa7cb251d08caa436aafc4e blt-2.4z.ebuild 1014
MD5 40680b813af7770bf0943c5c048500b9 blt-2.4u.ebuild 1046
-MD5 d17b023ac683acc669c0629d48407d83 ChangeLog 1124
+MD5 1424d4b341c51eb18ef351917e0a21de ChangeLog 1124
+MD5 aa8c1dfd524ccc5b50a03df01db5cde3 files/blt2.4z-install.diff 1057
MD5 5f1e80b20f22266ebdc0e3e49c91f9af files/digest-blt-2.4u 60
MD5 f7520f3503b4d2475a88f97378008989 files/digest-blt-2.4z 60
diff --git a/dev-tcltk/blt/blt-2.4z.ebuild b/dev-tcltk/blt/blt-2.4z.ebuild
index 818e7781f93c..040894868462 100644
--- a/dev-tcltk/blt/blt-2.4z.ebuild
+++ b/dev-tcltk/blt/blt-2.4z.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/blt/blt-2.4z.ebuild,v 1.1 2003/07/09 19:09:24 cretin Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/blt/blt-2.4z.ebuild,v 1.2 2003/07/09 19:25:47 cretin Exp $
S="${WORKDIR}/${PN}${PV}"
@@ -16,6 +16,12 @@ KEYWORDS="x86"
# hyper-optimizations untested...
#
+
+src_unpack() {
+ unpack ${A}
+ epatch ${FILESDIR}/blt2.4z-install.diff
+}
+
src_compile() {
cd ${S}
@@ -37,10 +43,7 @@ src_install() {
dodir /usr/share/man/mann
dodir /usr/include
emake \
- prefix=${D}/usr \
- exec_prefix=${D}/usr \
- mandir=${D}/usr/share/man \
- infodir=${D}/usr/share/info \
+ INSTALL_ROOT=${D} \
install || die
dodoc NEWS PROBLEMS README
diff --git a/dev-tcltk/blt/files/blt2.4z-install.diff b/dev-tcltk/blt/files/blt2.4z-install.diff
new file mode 100644
index 000000000000..184d7f701ce5
--- /dev/null
+++ b/dev-tcltk/blt/files/blt2.4z-install.diff
@@ -0,0 +1,26 @@
+--- blt2.4z/library/Makefile.in.jj 2003-07-09 20:18:32.000000000 +0100
++++ blt2.4z/library/Makefile.in 2003-07-09 20:19:06.000000000 +0100
+@@ -58,7 +58,7 @@
+ for i in $(miscFiles) ; do \
+ $(INSTALL_DATA) $(srcdir)/$$i $(INSTALL_ROOT)$(scriptdir) ; \
+ done
+- $(INSTALL_DATA) pkgIndex.tcl $(scriptdir)
++ $(INSTALL_DATA) pkgIndex.tcl $(INSTALL_ROOT)$(scriptdir)
+
+ mkdirs:
+ @for i in $(instdirs) ; do \
+--- blt2.4z/Makefile.in.jj 2003-07-09 20:19:24.000000000 +0100
++++ blt2.4z/Makefile.in 2003-07-09 20:19:46.000000000 +0100
+@@ -47,9 +47,9 @@
+ (cd library; $(MAKE) install)
+ (cd man; $(MAKE) install)
+ (cd demos; $(MAKE) install)
+- $(INSTALL_DATA) $(srcdir)/README $(INSTALL_DIR)$(scriptdir)
+- $(INSTALL_DATA) $(srcdir)/PROBLEMS $(INSTALL_DIR)$(scriptdir)
+- $(INSTALL_DATA) $(srcdir)/NEWS $(INSTALL_DIR)$(scriptdir)
++ $(INSTALL_DATA) $(srcdir)/README $(INSTALL_ROOT)$(scriptdir)
++ $(INSTALL_DATA) $(srcdir)/PROBLEMS $(INSTALL_ROOT)$(scriptdir)
++ $(INSTALL_DATA) $(srcdir)/NEWS $(INSTALL_ROOT)$(scriptdir)
+
+ mkdirs:
+ @for i in $(instdirs) ; do \