ports/149836: [PATCH] update misc/freeswitch-scripts to work better with metaport

Josh Paetzel jpaetzel at FreeBSD.org
Fri Aug 20 14:20:02 UTC 2010


>Number:         149836
>Category:       ports
>Synopsis:       [PATCH] update misc/freeswitch-scripts to work better with metaport
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Aug 20 14:20:01 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Josh Paetzel
>Release:        9.0-RELEASE
>Organization:
>Environment:
FreeBSD ix.tcbug.org 9.0-CURRENT FreeBSD 9.0-CURRENT #2: Mon Jul 12 22:22:49 CDT 2010     jpaetzel at ix.tcbug.org:/usr/obj/usr/src/sys/IX  amd64
>Description:
Add sentinel files needed so that the net/freeswitch meta port recognizes this port is installed.
>How-To-Repeat:
Attempt to install net/freeswitch with the OPTION for freeswitch-scripts turned on
>Fix:
Apply patch

Patch attached with submission follows:

diff -ru /home/jpaetzel/ports/misc/freeswitch-scripts/Makefile /storage/tinderbox/portstrees/20100811/ports/misc/freeswitch-scripts/Makefile
--- /home/jpaetzel/ports/misc/freeswitch-scripts/Makefile	2010-08-14 14:06:13.000000000 -0500
+++ /storage/tinderbox/portstrees/20100811/ports/misc/freeswitch-scripts/Makefile	2010-08-19 15:53:22.000000000 -0500
@@ -39,6 +39,9 @@
 .endfor
 
 do-install:
+	${MKDIR} ${PREFIX}/etc/${BASE_PORTNAME}/scripts
+	${TOUCH} ${PREFIX}/etc/${BASE_PORTNAME}/scripts/.freeswitch-scripts
+
 .if defined(WITH_JAVASCRIPT)
 	@${RM} ${WRKSRC}/javascript/ps_pizza.js
 	@${RM} ${WRKSRC}/javascript/pizza.js
diff -ru /home/jpaetzel/ports/misc/freeswitch-scripts/pkg-plist /storage/tinderbox/portstrees/20100811/ports/misc/freeswitch-scripts/pkg-plist
--- /home/jpaetzel/ports/misc/freeswitch-scripts/pkg-plist	2010-08-14 14:06:13.000000000 -0500
+++ /storage/tinderbox/portstrees/20100811/ports/misc/freeswitch-scripts/pkg-plist	2010-08-19 15:53:56.000000000 -0500
@@ -1,3 +1,4 @@
+etc/freeswitch/scripts/.freeswitch-scripts
 %%WITH_JAVASCRIPT%%etc/freeswitch/scripts/javascript/aadir/README
 %%WITH_JAVASCRIPT%%etc/freeswitch/scripts/javascript/aadir/aadir.js
 %%WITH_JAVASCRIPT%%etc/freeswitch/scripts/javascript/api.js
@@ -87,3 +88,4 @@
 %%WITH_LUA%%@dirrm etc/freeswitch/scripts/lua
 %%WITH_JAVASCRIPT%%@dirrm etc/freeswitch/scripts/javascript/aadir
 %%WITH_JAVASCRIPT%%@dirrm etc/freeswitch/scripts/javascript
+ at dirrm etc/freeswitch/scripts


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



More information about the freebsd-ports-bugs mailing list