summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2004-06-30 03:35:50 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2004-06-30 03:35:50 +0000
commitcbfd9b465637b1ff2fe07c92ea03508e02ae59c8 (patch)
tree1ceefbcfdcbf515b36aea593bfa86a4d8d4dad69
parentstable on x86, alpha, ia64 (Manifest recommit) (diff)
downloadgentoo-2-cbfd9b465637b1ff2fe07c92ea03508e02ae59c8.tar.gz
gentoo-2-cbfd9b465637b1ff2fe07c92ea03508e02ae59c8.tar.bz2
gentoo-2-cbfd9b465637b1ff2fe07c92ea03508e02ae59c8.zip
Use append-ldflags for static support instead of overriding LDFLAGS
-rw-r--r--app-arch/tar/ChangeLog5
-rw-r--r--app-arch/tar/tar-1.14.ebuild12
2 files changed, 8 insertions, 9 deletions
diff --git a/app-arch/tar/ChangeLog b/app-arch/tar/ChangeLog
index aba466d827d1..ca647ac26084 100644
--- a/app-arch/tar/ChangeLog
+++ b/app-arch/tar/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for app-arch/tar
# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-arch/tar/ChangeLog,v 1.21 2004/06/30 03:21:15 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-arch/tar/ChangeLog,v 1.22 2004/06/30 03:35:50 mr_bones_ Exp $
+
+ 29 Jun 2004; Michael Sterrett <mr_bones_@gentoo.org> tar-1.14.ebuild:
+ Use append-ldflags for static support instead of overriding LDFLAGS
29 Jun 2004; Aron Griffis <agriffis@gentoo.org> tar-1.14.ebuild:
stable on x86, alpha, ia64
diff --git a/app-arch/tar/tar-1.14.ebuild b/app-arch/tar/tar-1.14.ebuild
index 076466f6e709..34400d131890 100644
--- a/app-arch/tar/tar-1.14.ebuild
+++ b/app-arch/tar/tar-1.14.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-arch/tar/tar-1.14.ebuild,v 1.6 2004/06/30 03:21:15 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-arch/tar/tar-1.14.ebuild,v 1.7 2004/06/30 03:35:50 mr_bones_ Exp $
-inherit eutils gnuconfig
+inherit flag-o-matic eutils gnuconfig
DESCRIPTION="Use this to try make tarballs :)"
HOMEPAGE="http://www.gnu.org/software/tar/"
@@ -24,6 +24,7 @@ src_unpack() {
unpack ${A}
cd ${S}
gnuconfig_update
+ use static && append-ldflags -static
}
src_compile() {
@@ -32,12 +33,7 @@ src_compile() {
--bindir=/bin \
--libexecdir=/usr/sbin \
$(use_enable nls) || die
-
- if use static ; then
- emake LDFLAGS=-static || die "emake failed"
- else
- emake || die "emake failed"
- fi
+ emake || die "emake failed"
}
src_install() {