diff options
author | Michael Sterrett <msterret@gentoo.org> | 2003-04-23 09:07:14 +0000 |
---|---|---|
committer | Michael Sterrett <msterret@gentoo.org> | 2003-04-23 09:07:14 +0000 |
commit | 06582948b19789b8f2f169a1a113291c8ac089a8 (patch) | |
tree | c72142a63d33a26e2043d1a31d2460f5cd3ca0ff | |
parent | version bump (diff) | |
download | gentoo-2-06582948b19789b8f2f169a1a113291c8ac089a8.tar.gz gentoo-2-06582948b19789b8f2f169a1a113291c8ac089a8.tar.bz2 gentoo-2-06582948b19789b8f2f169a1a113291c8ac089a8.zip |
Added support for USE=static; Added use_enable nls to cleanup myconf (>=sys-apps/portage-2.0.47-r10 in DEPEND); Use einstall instead of big make line
-rw-r--r-- | sys-apps/diffutils/ChangeLog | 7 | ||||
-rw-r--r-- | sys-apps/diffutils/diffutils-2.8.4-r3.ebuild | 22 |
2 files changed, 16 insertions, 13 deletions
diff --git a/sys-apps/diffutils/ChangeLog b/sys-apps/diffutils/ChangeLog index 83a1bf3bbac4..4cd64f9cce9a 100644 --- a/sys-apps/diffutils/ChangeLog +++ b/sys-apps/diffutils/ChangeLog @@ -1,12 +1,17 @@ # ChangeLog for sys-apps/diffutils # Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/diffutils/ChangeLog,v 1.20 2003/04/23 06:05:33 msterret Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/diffutils/ChangeLog,v 1.21 2003/04/23 09:07:14 msterret Exp $ 09 Feb 2003; Guy Martin <gmsoft@gentoo.org> : Added hppa to keywords. *diffutils-2.8.4-r3 (04 Feb 2003) + 22 Apr 2003; <msterret@gentoo.org> diffutils-2.8.4-r3.ebuild: + Added support for USE=static Added use_enable nls to cleanup myconf + (>=sys-apps/portage-2.0.47-r10 in DEPEND) Use einstall instead of big make + line + 22 Apr 2003; Michael Sterrett <msterret@gentoo.org> diffutils-2.8.4-r3.ebuild: Changed to use sed -i (added >=sys-apps/sed-4 to DEPEND) diff --git a/sys-apps/diffutils/diffutils-2.8.4-r3.ebuild b/sys-apps/diffutils/diffutils-2.8.4-r3.ebuild index 6347a5206b4b..e69c598ebf5a 100644 --- a/sys-apps/diffutils/diffutils-2.8.4-r3.ebuild +++ b/sys-apps/diffutils/diffutils-2.8.4-r3.ebuild @@ -1,8 +1,8 @@ # Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/diffutils/diffutils-2.8.4-r3.ebuild,v 1.8 2003/04/23 05:50:59 msterret Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/diffutils/diffutils-2.8.4-r3.ebuild,v 1.9 2003/04/23 09:07:14 msterret Exp $ -IUSE="nls build" +IUSE="nls build static" inherit eutils || die "I lost my eutils inheritence" inherit flag-o-matic || die "I lost my flag-o-matic inheritence" @@ -21,6 +21,7 @@ SLOT="0" LICENSE="GPL-2" DEPEND="virtual/glibc + >=sys-apps/portage-2.0.47-r10 >=sys-apps/sed-4 nls? ( sys-devel/gettext ) !build? ( sys-apps/texinfo sys-apps/help2man )" @@ -50,20 +51,17 @@ src_unpack() { } src_compile() { - local myconf="" - [ -z "`use nls`" ] && myconf="--disable-nls" + econf --build=${CHOST} `use_enable nls` || die "econf" - econf --build=${CHOST} ${myconf} || die "econf" - - emake || die + if [ "`use static`" ] ; then + emake LDFLAGS=-static || die + else + emake || die + fi } src_install() { - make prefix=${D}/usr \ - datadir=${D}/usr/share \ - infodir=${D}/usr/share/info \ - mandir=${D}/usr/share/man \ - install || die "make install" + einstall if [ -z "`use build`" ] ; then dodoc COPYING ChangeLog NEWS README |