pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/45817: chat/pidgin doesn't respect PKG_OPTIONS.libpurple+=perl
>Number: 45817
>Category: pkg
>Synopsis: chat/pidgin doesn't respect PKG_OPTIONS.libpurple+=perl
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Jan 11 21:10:00 +0000 2012
>Originator: B.ICT A.P. deBROUWER Jr.
>Release: 5.99.59
>Organization:
-none-
>Environment:
NetBSD 10.0.2.17 5.99.59 NetBSD 5.99.59 (MONOLITHIC) #0: Tue Dec 27 01:19:12
UTC 2011
builds%b8.netbsd.org@localhost:/home/builds/ab/HEAD/i386/201112261820Z-obj/home/builds/ab/HEAD/src/sys/arch/i386/compile/MONOLITHIC
i386
>Description:
if PKG_OPTIONS.libpurple+=perl _and_ a perl plugin installed
(f.i. wip/pidgin-twitterstatus) we get:
/usr/pkg/lib/purple-2//perl/auto/Purple/Purple.so: Undefined PLT symbol
"purple_perl_callXS" (symnum = 610)
(this won't show if no perl plugin installed.)
>How-To-Repeat:
echo 'PKG_OPTIONS.libpurple+=perl'>>/etc/mk.conf
cd chat/pidgin && make install
cd wip/pidgin-twitterstatus && make install
pidgin
>Fix:
--- Makefile.orig 2012-01-11 22:24:30.000000000 +0000
+++ Makefile 2012-01-11 22:45:09.000000000 +0000
@@ -23,6 +23,10 @@
.include "options.mk"
+.if !empty(PKG_BUILD_OPTIONS.libpurple:Mperl)
+LDFLAGS+= -Wl,-R${PREFIX}/lib/purple-2
+.endif
+
pre-build:
# XXX Find a cleaner way.
${TEST} -r ${WRKSRC}/libpurple/libpurple.la || \
Home |
Main Index |
Thread Index |
Old Index