diff options
author | Alin Năstac <mrness@gentoo.org> | 2006-09-24 07:55:51 +0000 |
---|---|---|
committer | Alin Năstac <mrness@gentoo.org> | 2006-09-24 07:55:51 +0000 |
commit | 5b35ce106cc33b2ac639f9f70043d7db6515129c (patch) | |
tree | 86a6fd28004e7d67a3deb5634a0bf662d8bb9544 /net-dialup/penggy | |
parent | Stable on ppc64; bug #147654 (diff) | |
download | gentoo-2-5b35ce106cc33b2ac639f9f70043d7db6515129c.tar.gz gentoo-2-5b35ce106cc33b2ac639f9f70043d7db6515129c.tar.bz2 gentoo-2-5b35ce106cc33b2ac639f9f70043d7db6515129c.zip |
Fix broken linkage when LDFLAGS contains -Wl,--as-needed (#148752)
(Portage version: 2.1.1)
Diffstat (limited to 'net-dialup/penggy')
-rw-r--r-- | net-dialup/penggy/ChangeLog | 6 | ||||
-rw-r--r-- | net-dialup/penggy/files/digest-penggy-0.2.1 | 2 | ||||
-rw-r--r-- | net-dialup/penggy/files/penggy-0.2.1-as-needed.patch | 12 | ||||
-rw-r--r-- | net-dialup/penggy/penggy-0.2.1.ebuild | 12 |
4 files changed, 30 insertions, 2 deletions
diff --git a/net-dialup/penggy/ChangeLog b/net-dialup/penggy/ChangeLog index 48aea990e363..ff0f11c0d732 100644 --- a/net-dialup/penggy/ChangeLog +++ b/net-dialup/penggy/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for net-dialup/penggy # Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-dialup/penggy/ChangeLog,v 1.7 2006/08/05 04:58:48 dberkholz Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-dialup/penggy/ChangeLog,v 1.8 2006/09/24 07:55:51 mrness Exp $ + + 24 Sep 2006; Alin Nastac <mrness@gentoo.org> + +files/penggy-0.2.1-as-needed.patch, penggy-0.2.1.ebuild: + Fix broken linkage when LDFLAGS contains -Wl,--as-needed (#148752). 05 Aug 2006; Donnie Berkholz <dberkholz@gentoo.org>; metadata.xml: Update my email address: spyderous -> dberkholz. diff --git a/net-dialup/penggy/files/digest-penggy-0.2.1 b/net-dialup/penggy/files/digest-penggy-0.2.1 index 6876ad43c811..e2ea802691d9 100644 --- a/net-dialup/penggy/files/digest-penggy-0.2.1 +++ b/net-dialup/penggy/files/digest-penggy-0.2.1 @@ -1 +1,3 @@ MD5 7ea9ce65634e39a5dd478f9ea02c518a penggy-0.2.1.tar.gz 455909 +RMD160 1c2d24b34b599d913baadd3513e15534462371c6 penggy-0.2.1.tar.gz 455909 +SHA256 bffe229a3d5b4e83498cb1ee3abefd38614c285c9a2b43243c8a2b74f9fb2c30 penggy-0.2.1.tar.gz 455909 diff --git a/net-dialup/penggy/files/penggy-0.2.1-as-needed.patch b/net-dialup/penggy/files/penggy-0.2.1-as-needed.patch new file mode 100644 index 000000000000..87a31a424a08 --- /dev/null +++ b/net-dialup/penggy/files/penggy-0.2.1-as-needed.patch @@ -0,0 +1,12 @@ +diff -Nru penggy-0.2.1.orig/configure.ac penggy-0.2.1/configure.ac +--- penggy-0.2.1.orig/configure.ac 2003-02-05 00:45:58.000000000 +0200 ++++ penggy-0.2.1/configure.ac 2006-09-24 10:48:24.861838000 +0300 +@@ -193,7 +193,7 @@ + AC_DEFINE([ENABLE_MODEM], 1,[ Enable/disable modem driver ]) + GUILE_FLAGS + CFLAGS="$CFLAGS $GUILE_CFLAGS" +- LDFLAGS="$LDFLAGS $GUILE_LDFLAGS" ++ LIBS="$LIBS $GUILE_LDFLAGS" + AC_MSG_CHECKING(whether scm_eval conforms to R5RS) + AC_CACHE_VAL(guile_r5rs_eval, [ + AC_TRY_COMPILE([#include <guile/gh.h>], [SCM e, m; scm_eval(e, m);], diff --git a/net-dialup/penggy/penggy-0.2.1.ebuild b/net-dialup/penggy/penggy-0.2.1.ebuild index cffa86ae0bdf..b0f9b6d38d60 100644 --- a/net-dialup/penggy/penggy-0.2.1.ebuild +++ b/net-dialup/penggy/penggy-0.2.1.ebuild @@ -1,6 +1,8 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-dialup/penggy/penggy-0.2.1.ebuild,v 1.9 2006/05/14 12:10:32 mrness Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-dialup/penggy/penggy-0.2.1.ebuild,v 1.10 2006/09/24 07:55:51 mrness Exp $ + +inherit eutils autotools DESCRIPTION="Provide access to Internet using the AOL/Compuserve network." HOMEPAGE="None available" @@ -13,6 +15,14 @@ IUSE="" DEPEND=">=dev-util/guile-1.4.0" +src_unpack() { + unpack ${A} + + cd "${S}" + epatch "${FILESDIR}/${P}-as-needed.patch" + eautoconf +} + src_install() { make DESTDIR="${D}" install || die "make install failed" exeinto /etc/init.d |