pkgsrc-Bugs archive

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

pkg/38159: Add plugin option for multimedia/gnash



>Number:         38159
>Category:       pkg
>Synopsis:       Add plugin option for multimedia/gnash
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Tue Mar 04 11:30:01 +0000 2008
>Originator:     Yorick Hardy
>Release:        Current
>Organization:
>Environment:
NetBSD Yorick 4.99.45 NetBSD 4.99.45 (TOSHIBALCD) #0: Sat Jan  5 21:18:30 SAST 
2008  root@Yorick:/var/tmp/build/objcur/sys/arch/i386/compile/TOSHIBALCD i386

>Description:
Gnash also has a plugin for firefox.
Please add the option to support this.
>How-To-Repeat:

>Fix:
--- multimedia/gnash/options.mk.orig    2008-01-08 10:52:09.000000000 +0200
+++ multimedia/gnash/options.mk 2008-01-08 10:54:23.000000000 +0200
@@ -2,7 +2,7 @@
 #
 
 PKG_OPTIONS_VAR=       PKG_OPTIONS.gnash
-PKG_SUPPORTED_OPTIONS= klash
+PKG_SUPPORTED_OPTIONS= klash plugin
 
 .include "../../mk/bsd.options.mk"
 
@@ -16,5 +16,9 @@
 CONFIGURE_ARGS+=       --enable-klash
 .else
 CONFIGURE_ARGS+=       --disable-klash
+.if !empty(PKG_OPTIONS:Mplugin)
+CONFIGURE_ARGS+=       --enable-plugin --with-plugindir=$(PREFIX)/lib
+.else
 CONFIGURE_ARGS+=       --disable-plugin
 .endif
+.endif



Home | Main Index | Thread Index | Old Index