summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2007-06-13 23:38:41 +0000
committerMike Frysinger <vapier@gentoo.org>2007-06-13 23:38:41 +0000
commitb26e004f1b655cdf8bf6b7683cc4466bb5e86919 (patch)
tree4b8817a472268922859eeee2d86604be4e580f5b /sys-apps/dmapi
parentRespect LDFLAGS while linking the library. (diff)
downloadgentoo-2-b26e004f1b655cdf8bf6b7683cc4466bb5e86919.tar.gz
gentoo-2-b26e004f1b655cdf8bf6b7683cc4466bb5e86919.tar.bz2
gentoo-2-b26e004f1b655cdf8bf6b7683cc4466bb5e86919.zip
Respect LDFLAGS while linking the library.
(Portage version: 2.1.2.9)
Diffstat (limited to 'sys-apps/dmapi')
-rw-r--r--sys-apps/dmapi/ChangeLog6
-rw-r--r--sys-apps/dmapi/dmapi-2.2.8.ebuild3
-rw-r--r--sys-apps/dmapi/files/dmapi-2.2.8-LDFLAGS.patch14
3 files changed, 21 insertions, 2 deletions
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 <vapier@gentoo.org>
+ +files/dmapi-2.2.8-LDFLAGS.patch, dmapi-2.2.8.ebuild:
+ Respect LDFLAGS while linking the library.
11 Jun 2007; Mike Frysinger <vapier@gentoo.org>
+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