From 3a24bba0d0e46b1bc33d3f1bd865908ad9e5a24a Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Wed, 13 Jun 2007 23:38:41 +0000 Subject: Respect LDFLAGS while linking the library. Package-Manager: portage-2.1.2.9 --- sys-apps/acl/ChangeLog | 6 +++++- sys-apps/acl/acl-2.2.44.ebuild | 3 ++- sys-apps/acl/files/acl-2.2.44-LDFLAGS.patch | 14 ++++++++++++++ sys-apps/attr/ChangeLog | 6 +++++- sys-apps/attr/attr-2.4.38.ebuild | 3 ++- sys-apps/attr/files/attr-2.4.38-LDFLAGS.patch | 14 ++++++++++++++ sys-apps/dmapi/ChangeLog | 6 +++++- sys-apps/dmapi/dmapi-2.2.8.ebuild | 3 ++- sys-apps/dmapi/files/dmapi-2.2.8-LDFLAGS.patch | 14 ++++++++++++++ 9 files changed, 63 insertions(+), 6 deletions(-) create mode 100644 sys-apps/acl/files/acl-2.2.44-LDFLAGS.patch create mode 100644 sys-apps/attr/files/attr-2.4.38-LDFLAGS.patch create mode 100644 sys-apps/dmapi/files/dmapi-2.2.8-LDFLAGS.patch 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 + +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 diff --git a/sys-apps/attr/ChangeLog b/sys-apps/attr/ChangeLog index bdd42702e1e7..d6a850acd82c 100644 --- a/sys-apps/attr/ChangeLog +++ b/sys-apps/attr/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for sys-apps/attr # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/attr/ChangeLog,v 1.81 2007/05/31 06:03:05 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/attr/ChangeLog,v 1.82 2007/06/13 23:34:07 vapier Exp $ + + 13 Jun 2007; Mike Frysinger + +files/attr-2.4.38-LDFLAGS.patch, attr-2.4.38.ebuild: + Respect LDFLAGS while linking the library. *attr-2.4.38 (31 May 2007) diff --git a/sys-apps/attr/attr-2.4.38.ebuild b/sys-apps/attr/attr-2.4.38.ebuild index 1dedc21f3f17..b44e24b8973f 100644 --- a/sys-apps/attr/attr-2.4.38.ebuild +++ b/sys-apps/attr/attr-2.4.38.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/attr/attr-2.4.38.ebuild,v 1.1 2007/05/31 06:03:05 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/attr/attr-2.4.38.ebuild,v 1.2 2007/06/13 23:34:07 vapier Exp $ inherit eutils autotools toolchain-funcs @@ -23,6 +23,7 @@ src_unpack() { unpack ${A} cd "${S}" epatch "${FILESDIR}"/${PN}-2.4.24-only-symlink-when-needed.patch + epatch "${FILESDIR}"/${PN}-2.4.38-LDFLAGS.patch sed -i \ -e "/^PKG_DOC_DIR/s:@pkg_name@:${PF}:" \ -e '/HAVE_ZIPPED_MANPAGES/s:=.*:=false:' \ diff --git a/sys-apps/attr/files/attr-2.4.38-LDFLAGS.patch b/sys-apps/attr/files/attr-2.4.38-LDFLAGS.patch new file mode 100644 index 000000000000..f5f1ebb74f12 --- /dev/null +++ b/sys-apps/attr/files/attr-2.4.38-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 diff --git a/sys-apps/dmapi/ChangeLog b/sys-apps/dmapi/ChangeLog index d00e3d83abd7..6e1bb85cf26b 100644 --- a/sys-apps/dmapi/ChangeLog +++ b/sys-apps/dmapi/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for sys-apps/dmapi # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/dmapi/ChangeLog,v 1.47 2007/06/11 04:54:02 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/dmapi/ChangeLog,v 1.48 2007/06/13 23:38:41 vapier Exp $ + + 13 Jun 2007; Mike Frysinger + +files/dmapi-2.2.8-LDFLAGS.patch, dmapi-2.2.8.ebuild: + Respect LDFLAGS while linking the library. 11 Jun 2007; Mike Frysinger +files/dmapi-2.2.8-symlinks.patch, dmapi-2.2.8.ebuild: diff --git a/sys-apps/dmapi/dmapi-2.2.8.ebuild b/sys-apps/dmapi/dmapi-2.2.8.ebuild index 60878bf2f37f..afa9e8458b12 100644 --- a/sys-apps/dmapi/dmapi-2.2.8.ebuild +++ b/sys-apps/dmapi/dmapi-2.2.8.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/dmapi/dmapi-2.2.8.ebuild,v 1.3 2007/06/11 04:54:02 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/dmapi/dmapi-2.2.8.ebuild,v 1.4 2007/06/13 23:38:41 vapier Exp $ inherit eutils toolchain-funcs autotools @@ -20,6 +20,7 @@ src_unpack() { unpack ${A} cd "${S}" epatch "${FILESDIR}"/${PN}-2.2.1-only-symlink-when-needed.patch + epatch "${FILESDIR}"/${PN}-2.2.8-LDFLAGS.patch epatch "${FILESDIR}"/${PN}-2.2.8-symlinks.patch #180672 sed -i \ -e "/^PKG_DOC_DIR/s:@pkg_name@:${PF}:" \ diff --git a/sys-apps/dmapi/files/dmapi-2.2.8-LDFLAGS.patch b/sys-apps/dmapi/files/dmapi-2.2.8-LDFLAGS.patch new file mode 100644 index 000000000000..f5f1ebb74f12 --- /dev/null +++ b/sys-apps/dmapi/files/dmapi-2.2.8-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 -- cgit v1.2.3-65-gdbad