summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Stewart <vericgar@gentoo.org>2006-05-18 18:13:38 +0000
committerMichael Stewart <vericgar@gentoo.org>2006-05-18 18:13:38 +0000
commitd2f1362063c548bc71f3616831610e98e7cb47b5 (patch)
tree58cf25e22483b551ddf721aa737a7053e910a7c6 /dev-libs/apr
parentFilter --as-needed (diff)
downloadgentoo-2-d2f1362063c548bc71f3616831610e98e7cb47b5.tar.gz
gentoo-2-d2f1362063c548bc71f3616831610e98e7cb47b5.tar.bz2
gentoo-2-d2f1362063c548bc71f3616831610e98e7cb47b5.zip
Filter --as-needed
(Portage version: 2.1_rc1-r2)
Diffstat (limited to 'dev-libs/apr')
-rw-r--r--dev-libs/apr/apr-0.9.7.ebuild5
-rw-r--r--dev-libs/apr/apr-1.2.7.ebuild7
2 files changed, 9 insertions, 3 deletions
diff --git a/dev-libs/apr/apr-0.9.7.ebuild b/dev-libs/apr/apr-0.9.7.ebuild
index 0b28eb7b4c93..135538731d07 100644
--- a/dev-libs/apr/apr-0.9.7.ebuild
+++ b/dev-libs/apr/apr-0.9.7.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/apr/apr-0.9.7.ebuild,v 1.9 2006/03/30 19:41:44 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/apr/apr-0.9.7.ebuild,v 1.10 2006/05/18 18:13:38 vericgar Exp $
inherit flag-o-matic libtool
@@ -17,6 +17,9 @@ RESTRICT="test"
DEPEND=""
src_compile() {
+
+ filter-ldflags -Wl,--as-needed --as-needed
+
elibtoolize || die "elibtoolize failed"
myconf="--datadir=/usr/share/apr-0"
diff --git a/dev-libs/apr/apr-1.2.7.ebuild b/dev-libs/apr/apr-1.2.7.ebuild
index be50bcb13612..2e67b8ff5abe 100644
--- a/dev-libs/apr/apr-1.2.7.ebuild
+++ b/dev-libs/apr/apr-1.2.7.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/apr/apr-1.2.7.ebuild,v 1.3 2006/05/18 01:22:33 vericgar Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/apr/apr-1.2.7.ebuild,v 1.4 2006/05/18 18:13:38 vericgar Exp $
-inherit libtool
+inherit flag-o-matic libtool
DESCRIPTION="Apache Portable Runtime Library"
HOMEPAGE="http://apr.apache.org/"
@@ -17,6 +17,9 @@ RESTRICT="test"
DEPEND=""
src_compile() {
+
+ filter-ldflags -Wl,--as-needed --as-needed
+
elibtoolize || die "elibtoolize failed"
myconf="--datadir=/usr/share/apr-1"