summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2007-06-13 23:37:32 +0000
committerMike Frysinger <vapier@gentoo.org>2007-06-13 23:37:32 +0000
commitf91f01ca3db65c836aeb506af1840bdd0e65461d (patch)
treef5aa9dffaeb80e936ccc86c6652ffcf9bc979a5a /sys-apps/acl
parentRespect LDFLAGS while linking the library. (diff)
downloadgentoo-2-f91f01ca3db65c836aeb506af1840bdd0e65461d.tar.gz
gentoo-2-f91f01ca3db65c836aeb506af1840bdd0e65461d.tar.bz2
gentoo-2-f91f01ca3db65c836aeb506af1840bdd0e65461d.zip
Respect LDFLAGS while linking the library.
(Portage version: 2.1.2.9)
Diffstat (limited to 'sys-apps/acl')
-rw-r--r--sys-apps/acl/ChangeLog6
-rw-r--r--sys-apps/acl/acl-2.2.44.ebuild3
-rw-r--r--sys-apps/acl/files/acl-2.2.44-LDFLAGS.patch14
3 files changed, 21 insertions, 2 deletions
diff --git a/sys-apps/acl/ChangeLog b/sys-apps/acl/ChangeLog
index 2d9ff06bbb73..f9c2b3ffe0b7 100644
--- a/sys-apps/acl/ChangeLog
+++ b/sys-apps/acl/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sys-apps/acl
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/acl/ChangeLog,v 1.71 2007/05/31 05:59:55 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/acl/ChangeLog,v 1.72 2007/06/13 23:37:32 vapier Exp $
+
+ 13 Jun 2007; Mike Frysinger <vapier@gentoo.org>
+ +files/acl-2.2.44-LDFLAGS.patch, acl-2.2.44.ebuild:
+ Respect LDFLAGS while linking the library.
*acl-2.2.44 (31 May 2007)
diff --git a/sys-apps/acl/acl-2.2.44.ebuild b/sys-apps/acl/acl-2.2.44.ebuild
index 7467915d211b..c61915969797 100644
--- a/sys-apps/acl/acl-2.2.44.ebuild
+++ b/sys-apps/acl/acl-2.2.44.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/acl/acl-2.2.44.ebuild,v 1.1 2007/05/31 05:59:55 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/acl/acl-2.2.44.ebuild,v 1.2 2007/06/13 23:37:32 vapier Exp $
inherit eutils autotools toolchain-funcs
@@ -30,6 +30,7 @@ src_unpack() {
acl-2.2.41-CITI_NFS4_ALL-3.dif
fi
epatch "${FILESDIR}"/${PN}-2.2.32-only-symlink-when-needed.patch
+ epatch "${FILESDIR}"/${PN}-2.2.44-LDFLAGS.patch
sed -i \
-e "/^PKG_DOC_DIR/s:@pkg_name@:${PF}:" \
-e '/HAVE_ZIPPED_MANPAGES/s:=.*:=false:' \
diff --git a/sys-apps/acl/files/acl-2.2.44-LDFLAGS.patch b/sys-apps/acl/files/acl-2.2.44-LDFLAGS.patch
new file mode 100644
index 000000000000..f5f1ebb74f12
--- /dev/null
+++ b/sys-apps/acl/files/acl-2.2.44-LDFLAGS.patch
@@ -0,0 +1,14 @@
+make sure the library link respects LDFLAGS
+
+http://oss.sgi.com/bugzilla/show_bug.cgi?id=642
+
+--- include/buildmacros
++++ include/buildmacros
+@@ -10,6 +10,7 @@
+ # during the "dist" phase (packaging).
+
+ LDFLAGS += $(LOADERFLAGS) $(LLDFLAGS)
++LTLDFLAGS += $(LOADERFLAGS)
+ LDLIBS = $(LLDLIBS) $(PLDLIBS) $(MALLOCLIB)
+
+ MAKEOPTS = --no-print-directory