pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/42652: multimedia/swfdec-mozilla doesn't build it's shared object, plugin doesn't work



>Number:         42652
>Category:       pkg
>Synopsis:       multimedia/swfdec-mozilla doesn't build it's shared object, 
>plugin doesn't work
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Jan 20 13:55:00 +0000 2010
>Originator:     Joachim Kuebart
>Release:        NetBSD-current
>Organization:
>Environment:
NetBSD yacht 5.99.23 NetBSD 5.99.23 (YACHT) #1: Mon Jan 18 07:35:40 GMT 2010  
joki@yacht:/usr/obj/amd64.new/usr/src/sys/arch/amd64/compile/YACHT amd64

>Description:
When building multimedia/swfdec-mozilla, only a static library and the libtool 
archive are installed into ${PREFIX}/lib/mozilla/plugins. The shared object is 
missing.
>How-To-Repeat:
Build and install multimedia/swfdec-mozilla from current pkgsrc on 
NetBSD-current (with USE_DESTDIR=yes, which might be irrelevant).
>Fix:
The shared object isn't built because libtool cannot find the pulse library. 
Adding audio/pulseaudio to the Makefile fixes the problem.

Index: Makefile
===================================================================
RCS file: /pub/NetBSD-CVS/pkgsrc/multimedia/swfdec-mozilla/Makefile,v
retrieving revision 1.5
diff -p -U8 -r1.5 Makefile
--- Makefile    26 Aug 2009 19:58:07 -0000      1.5
+++ Makefile    20 Jan 2010 13:46:14 -0000
@@ -12,11 +12,12 @@ COMMENT=    Mozilla plugin for swfdec

 PKG_DESTDIR_SUPPORT=   user-destdir

 GNU_CONFIGURE= yes
 USE_LIBTOOL=   yes
 USE_TOOLS+=    pkg-config
 #CONFIGURE_ARGS+=      --with-plugin-dir=${PREFIX}/...

+.include "../../audio/pulseaudio/buildlink3.mk"
 .include "../../graphics/hicolor-icon-theme/buildlink3.mk"
 .include "../../multimedia/swfdec/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index