ports/98507: [patch] Option to build multimedia/gxine without browser plugin
Kim Scarborough
sluggo at unknown.nu
Sun Jun 4 20:20:20 UTC 2006
>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 at 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
- at dirrm lib/browser_plugins
+%%WITHOUT_MOZILLA_PLUGIN%%@dirrm lib/browser_plugins
--- gxine.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list