summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2010-06-29 19:53:52 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2010-06-29 19:53:52 +0000
commitbeb551e2511a792c04ec5b4e6ef4a169240c2ab4 (patch)
tree355101a14bc8ff021afcec20a98d1aa8edec5206 /net-p2p/dbhub/files
parentAdded myself to the metadata.xml (diff)
downloadgentoo-2-beb551e2511a792c04ec5b4e6ef4a169240c2ab4.tar.gz
gentoo-2-beb551e2511a792c04ec5b4e6ef4a169240c2ab4.tar.bz2
gentoo-2-beb551e2511a792c04ec5b4e6ef4a169240c2ab4.zip
Fix building with -Wl,--as-needed wrt #276928 by Diego E. Pettenò.
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'net-p2p/dbhub/files')
-rw-r--r--net-p2p/dbhub/files/dbhub-gentoo.patch22
1 files changed, 16 insertions, 6 deletions
diff --git a/net-p2p/dbhub/files/dbhub-gentoo.patch b/net-p2p/dbhub/files/dbhub-gentoo.patch
index 3ac532ffef6b..6e992cdb0129 100644
--- a/net-p2p/dbhub/files/dbhub-gentoo.patch
+++ b/net-p2p/dbhub/files/dbhub-gentoo.patch
@@ -1,15 +1,25 @@
---- configure.orig 2008-02-25 15:28:29.000000000 +0100
-+++ configure 2008-02-25 15:28:52.000000000 +0100
-@@ -4926,12 +4926,6 @@
- fi
+--- configure.ac
++++ configure.ac
+@@ -115,7 +115,7 @@
+ AC_MSG_CHECKING([Perl LD Objs])
+ AC_MSG_RESULT([$perl_ldd])
+ CPPFLAGS="$CPPFLAGS $perl_ccflags"
+- LDFLAGS="$LDFLAGS $perl_ld"
++ LIBS="$LIBS $perl_ld"
+ MISSING_PERL_HEADERS=""
+ AC_CHECK_HEADERS([EXTERN.h perl.h],,HAVE_PERL="false"; MISSING_PERL_HEADERS="$ac_header $MISSING_PERL_HEADERS",[[#if HAVE_EXTERN_H
+ #include <EXTERN.h>
+@@ -141,13 +141,6 @@
+ AM_CONDITIONAL([BNLS],[test "$want_nls" = "yes"])
+-dnl Check if config directory exists.
-if test ! -d $HOME/.dbhub; then
- echo "creating config directory: $HOME/.dbhub"
- mkdir $HOME/.dbhub
- chmod 700 $HOME/.dbhub;
-fi
-
- ac_config_files="$ac_config_files Makefile src/Makefile"
+ AC_OUTPUT(Makefile src/Makefile)
- cat >confcache <<\_ACEOF
+ echo -e "\n\e@<:@1m-------------------------------------------------\e@<:@0m"