Date: Sun, 4 Jun 2006 15:18:08 -0500 (CDT) From: Kim Scarborough <sluggo@unknown.nu> To: FreeBSD-gnats-submit@FreeBSD.org Cc: greg@chown.ath.cx Subject: ports/98507: [patch] Option to build multimedia/gxine without browser plugin Message-ID: <20060604201808.466162D2@housecat.unknown.nu> Resent-Message-ID: <200606042020.k54KKJWs055842@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 98507 >Category: ports >Synopsis: [patch] Option to build multimedia/gxine without browser plugin >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Sun Jun 04 20:20:19 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Kim Scarborough >Release: FreeBSD 6.1-RELEASE i386 >Organization: >Environment: System: FreeBSD housecat.unknown.nu 6.1-RELEASE FreeBSD 6.1-RELEASE #1: Thu Jun 1 19:37:01 CDT 2006 root@housecat.unknown.nu:/usr/obj/usr/src/sys/HOUSECAT i386 >Description: The multimedia/gxine port always installs a plugin for Mozilla/Firefox. This is not necessarily desired behavior. The attached patch defines a variable to turn off plugin installation. >How-To-Repeat: >Fix: diff -ruN gxine.ORIG/Makefile gxine/Makefile --- gxine.ORIG/Makefile Wed Mar 1 21:11:55 2006 +++ gxine/Makefile Sun Jun 4 14:28:20 2006 @@ -26,8 +26,16 @@ MANLANG= "" de MAN1= gxine.1 +.if defined(WITHOUT_MOZILLA_PLUGIN) +PLIST_SUB+= WITHOUT_MOZILLA_PLUGIN="@comment " +.else +PLIST_SUB+= WITHOUT_MOZILLA_PLUGIN="" +.endif + post-install: +.if !defined(WITHOUT_MOZILLA_PLUGIN) @${MKDIR} ${PREFIX}/lib/browser_plugins @${LN} -sf ${PREFIX}/lib/gxine/gxineplugin.so ${PREFIX}/lib/browser_plugins +.endif .include <bsd.port.mk> diff -ruN gxine.ORIG/pkg-plist gxine/pkg-plist --- gxine.ORIG/pkg-plist Wed Mar 1 21:11:55 2006 +++ gxine/pkg-plist Sun Jun 4 14:53:01 2006 @@ -10,10 +10,8 @@ lib/gxine/gxineplugin.a lib/gxine/gxineplugin.la lib/gxine/gxineplugin.so -lib/browser_plugins/gxineplugin.a -lib/browser_plugins/gxineplugin.la -lib/browser_plugins/gxineplugin.so +%%WITHOUT_MOZILLA_PLUGIN%%lib/browser_plugins/gxineplugin.so @dirrm share/gxine/pixmaps @dirrm share/gxine @dirrm lib/gxine -@dirrm lib/browser_plugins +%%WITHOUT_MOZILLA_PLUGIN%%@dirrm lib/browser_plugins --- gxine.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060604201808.466162D2>