ports/79386: patch multimedia/gstreamer-plugins: wrong variable substitution for slave plugin ports

NIIMI Satoshi sa2c at sa2c.net
Thu Mar 31 03:50:12 UTC 2005


>Number:         79386
>Category:       ports
>Synopsis:       patch multimedia/gstreamer-plugins: wrong variable substitution for slave plugin ports
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Mar 31 03:50:11 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     NIIMI Satoshi
>Release:        FreeBSD 5.3-RELEASE-p6 i386
>Organization:
>Environment:
System: FreeBSD berkeley.l.sa2c.net 5.3-RELEASE-p6 FreeBSD 5.3-RELEASE-p6 #1: Tue Mar 29 14:01:17 JST 2005 root at berkeley.l.sa2c.net:/usr/obj/usr/src/sys/GENERIC i386


	
>Description:

The variabel CONFIGURE_ARGS is not correctly substituted for
individual plugins, because of undefined variable ${p}.
	
>How-To-Repeat:
cd /usr/ports/devel/gstreamer-plugins-gconf/; make -V CONFIGURE_ARGS
=> flags for unnecessary plugins are '--enable'
cd /usr/ports/devel/gstreamer-plugins-gconf/; env p=XXX make -V CONFIGURE_ARGS
=> required flags for the plugin are still '--disable'
	
>Fix:

	

--- gstreamer-plugins.diff begins here ---
Index: Makefile.common
===================================================================
RCS file: /home/ncvs/ports/multimedia/gstreamer-plugins/Makefile.common,v
retrieving revision 1.7
diff -u -d -r1.7 Makefile.common
--- Makefile.common	25 Mar 2005 21:47:38 -0000	1.7
+++ Makefile.common	31 Mar 2005 03:31:02 -0000
@@ -111,7 +111,7 @@
 
 # Enable the right plugin
 
-CONFIGURE_ARGS:=${CONFIGURE_ARGS:S|--disable-${p}|--enable-${p}|}
+CONFIGURE_ARGS:=${CONFIGURE_ARGS:S|--disable-${GST_PLUGIN}|--enable-${GST_PLUGIN}|}
 
 # Build/Install directory. defaults to ext/${GST_PLUGIN}
 #   few plugins are in sys/
--- gstreamer-plugins.diff ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list