summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2009-05-02 13:19:14 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2009-05-02 13:19:14 +0000
commit04932c7e44ce6268f660a74488920296b316ab4b (patch)
treed4db6b8a744893bba7aaf925d00a1b48e0067f97 /sys-devel/libperl/libperl-5.8.8-r2.ebuild
parentversion bump; more detailed messages for utf-8 update on depended mysql db (diff)
downloadgentoo-2-04932c7e44ce6268f660a74488920296b316ab4b.tar.gz
gentoo-2-04932c7e44ce6268f660a74488920296b316ab4b.tar.bz2
gentoo-2-04932c7e44ce6268f660a74488920296b316ab4b.zip
Respect LDFLAGS (bug #181464).
(Portage version: 13595-svn/cvs/Linux x86_64)
Diffstat (limited to 'sys-devel/libperl/libperl-5.8.8-r2.ebuild')
-rw-r--r--sys-devel/libperl/libperl-5.8.8-r2.ebuild9
1 files changed, 6 insertions, 3 deletions
diff --git a/sys-devel/libperl/libperl-5.8.8-r2.ebuild b/sys-devel/libperl/libperl-5.8.8-r2.ebuild
index 17e2fc856993..529b1f4f0f6b 100644
--- a/sys-devel/libperl/libperl-5.8.8-r2.ebuild
+++ b/sys-devel/libperl/libperl-5.8.8-r2.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2008 Gentoo Foundation
+# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/libperl/libperl-5.8.8-r2.ebuild,v 1.10 2008/10/27 06:03:20 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/libperl/libperl-5.8.8-r2.ebuild,v 1.11 2009/05/02 13:19:14 arfrever Exp $
# The basic theory based on comments from Daniel Robbins <drobbins@gentoo.org>.
#
@@ -151,6 +151,9 @@ src_unpack() {
# patch to fix bug #219203
epatch "${FILESDIR}"/${P}-CVE-2008-1927.patch
+
+ # Respect LDFLAGS
+ sed -e 's/$(SHRPLDFLAGS)/& $(LDFLAGS)/' -i Makefile.SH
}
myconf() {
@@ -276,7 +279,7 @@ src_compile() {
"${myconf[@]}" || die "Unable to configure"
emake -j1 -f Makefile depend || die "Couldn't make libperl$(get_libname) depends"
- emake -j1 -f Makefile LIBPERL=${LIBPERL} ${LIBPERL} || die "Unable to make libperl$(get_libname)"
+ emake -j1 -f Makefile LDFLAGS="${LDFLAGS}" LIBPERL=${LIBPERL} ${LIBPERL} || die "Unable to make libperl$(get_libname)"
mv ${LIBPERL} "${WORKDIR}"
}