diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2009-12-21 15:33:35 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2009-12-21 15:33:35 +0000 |
commit | daca2d43bf76e982eea7d521cdc77180bf979cf6 (patch) | |
tree | b68ebafc4871125f84f2dde9fccbe1bf54641512 /net-irc/bobotpp | |
parent | Fix tests (bug #297191). (diff) | |
download | gentoo-2-daca2d43bf76e982eea7d521cdc77180bf979cf6.tar.gz gentoo-2-daca2d43bf76e982eea7d521cdc77180bf979cf6.tar.bz2 gentoo-2-daca2d43bf76e982eea7d521cdc77180bf979cf6.zip |
Fix building with -Wl,--as-needed wrt #248013 by Kacper Kowalik.
(Portage version: 2.2_rc59/cvs/Linux x86_64)
Diffstat (limited to 'net-irc/bobotpp')
-rw-r--r-- | net-irc/bobotpp/ChangeLog | 8 | ||||
-rw-r--r-- | net-irc/bobotpp/bobotpp-2.2.2.ebuild | 13 | ||||
-rw-r--r-- | net-irc/bobotpp/files/bobotpp-2.2.2-asneeded.patch | 15 |
3 files changed, 29 insertions, 7 deletions
diff --git a/net-irc/bobotpp/ChangeLog b/net-irc/bobotpp/ChangeLog index 2a940d93f93d..31354699ac0d 100644 --- a/net-irc/bobotpp/ChangeLog +++ b/net-irc/bobotpp/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for net-irc/bobotpp -# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-irc/bobotpp/ChangeLog,v 1.20 2008/04/18 16:37:46 cla Exp $ +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-irc/bobotpp/ChangeLog,v 1.21 2009/12/21 15:33:35 ssuominen Exp $ + + 21 Dec 2009; Samuli Suominen <ssuominen@gentoo.org> bobotpp-2.2.2.ebuild, + +files/bobotpp-2.2.2-asneeded.patch: + Fix building with -Wl,--as-needed wrt #248013 by Kacper Kowalik. 18 Apr 2008; Dawid Węgliński <cla@gentoo.org> +files/bobotpp-2.2.2-gcc43.patch, bobotpp-2.2.2.ebuild: diff --git a/net-irc/bobotpp/bobotpp-2.2.2.ebuild b/net-irc/bobotpp/bobotpp-2.2.2.ebuild index 0f180075de6d..f35f9899e1c3 100644 --- a/net-irc/bobotpp/bobotpp-2.2.2.ebuild +++ b/net-irc/bobotpp/bobotpp-2.2.2.ebuild @@ -1,8 +1,10 @@ -# 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/net-irc/bobotpp/bobotpp-2.2.2.ebuild,v 1.5 2008/04/18 16:37:46 cla Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-irc/bobotpp/bobotpp-2.2.2.ebuild,v 1.6 2009/12/21 15:33:35 ssuominen Exp $ -inherit eutils +WANT_AUTOMAKE=1.7 + +inherit autotools eutils DESCRIPTION="A flexible IRC bot scriptable in scheme" HOMEPAGE="http://unknownlamer.org/code/bobot.html" @@ -17,8 +19,9 @@ DEPEND="guile? ( dev-scheme/guile )" src_unpack() { unpack ${A} cd "${S}" - - epatch "${FILESDIR}/bobotpp-2.2.2-gcc43.patch" + epatch "${FILESDIR}"/bobotpp-2.2.2-gcc43.patch \ + "${FILESDIR}"/${P}-asneeded.patch + eautoreconf } src_compile() { diff --git a/net-irc/bobotpp/files/bobotpp-2.2.2-asneeded.patch b/net-irc/bobotpp/files/bobotpp-2.2.2-asneeded.patch new file mode 100644 index 000000000000..e960e008f187 --- /dev/null +++ b/net-irc/bobotpp/files/bobotpp-2.2.2-asneeded.patch @@ -0,0 +1,15 @@ +--- bobotpp-2.2.2.orig/configure.ac 2006-06-29 02:02:46.000000000 +0200 ++++ bobotpp-2.2.2/configure.ac 2009-10-15 19:31:42.058285332 +0200 +@@ -58,9 +58,9 @@ + AC_CPP_STL_IOSBASE + + dnl Checks for libraries. +-AC_CHECK_LIB(crypt, crypt, [LDFLAGS="-lcrypt $LDFLAGS]") +-AC_CHECK_LIB(socket, socket, [LDFLAGS="-lsocket $LDFLAGS]") +-AC_CHECK_LIB(nsl, connect, [LDFLAGS="-lnsl $LDFLAGS]") ++AC_CHECK_LIB(crypt, crypt) ++AC_CHECK_LIB(socket, socket) ++AC_CHECK_LIB(nsl, connect) + + dnl CC++ is special (no function to check_lib on + dnl AC_CHECK_PROG(CCGNU_FOUND, [ccgnu2-config], |