SOURCES: irssi-libs-nopoison.patch (NEW) - don't let as needed ldopts came ...

glen glen at pld-linux.org
Sun Nov 16 18:27:50 CET 2008


Author: glen                         Date: Sun Nov 16 17:27:50 2008 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- don't let as needed ldopts came from perl

---- Files affected:
SOURCES:
   irssi-libs-nopoison.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/irssi-libs-nopoison.patch
diff -u /dev/null SOURCES/irssi-libs-nopoison.patch:1.1
--- /dev/null	Sun Nov 16 18:27:51 2008
+++ SOURCES/irssi-libs-nopoison.patch	Sun Nov 16 18:27:45 2008
@@ -0,0 +1,11 @@
+--- irssi-0.8.12/configure.in~	2008-11-16 19:24:07.000000000 +0200
++++ irssi-0.8.12/configure.in	2008-11-16 19:26:14.401917429 +0200
+@@ -511,7 +511,7 @@
+ 		AC_MSG_RESULT([not found, building without Perl])
+ 		want_perl=no
+ 	else
+-		PERL_LDFLAGS=`$perlpath -MExtUtils::Embed -e ldopts 2>/dev/null`
++		PERL_LDFLAGS=`$perlpath -MExtUtils::Embed -e ldopts 2>/dev/null | sed -e 's/-Wl,--as-needed//'`
+ 
+ 		dnl * Perl 5.004 and older use perl_xxx variables while
+ 		dnl * later use PL_perl_xxx variables ..
================================================================


More information about the pld-cvs-commit mailing list