ports/153854: [patch] audio/freeswitch-sounds fix usage of @dirrmtry macro

Andrej Zverev az at FreeBSD.org
Mon Jan 10 18:40:09 UTC 2011


>Number:         153854
>Category:       ports
>Synopsis:       [patch] audio/freeswitch-sounds fix usage of @dirrmtry macro
>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:   Mon Jan 10 18:40:08 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Andrej Zverev
>Release:        FreeBSD 7.3-RELEASE-p1 i386
>Organization:
>Environment:

	
>Description:
	@dirrmtry expand itself as
		@unexec rmdir %D/<dir> 2>/dev/null || true
	so, you don't need anything extra.
	
>How-To-Repeat:
	
>Fix:

	

--- freeswitch-sounds.diff begins here ---
Index: freeswitch-sounds/Makefile
===================================================================
RCS file: /home/pcvs/ports/audio/freeswitch-sounds/Makefile,v
retrieving revision 1.3
diff -u -r1.3 Makefile
--- freeswitch-sounds/Makefile	20 Aug 2010 21:44:22 -0000	1.3
+++ freeswitch-sounds/Makefile	10 Jan 2011 18:22:35 -0000
@@ -109,8 +109,8 @@
 	${ECHO} .freeswitch-sounds >> ${PLIST}; \
 	${SED} -i "" -e "s:^:share/${BASE_PORTNAME}/sounds/:" ${PLIST}; \
 	${FIND} * -type d ! -empty | ${SORT} -r | ${SED} -e "s:^:@dirrm share/${BASE_PORTNAME}/sounds/:" | ${GREP} / >> ${PLIST}; \
-	${ECHO} "@dirrmtry share/${BASE_PORTNAME}/sounds 2> /dev/null || /usr/bin/true" >> ${PLIST}; \
-	${ECHO} "@dirrmtry share/${BASE_PORTNAME} 2> /dev/null || /usr/bin/true" >> ${PLIST};
+	${ECHO} "@dirrmtry share/${BASE_PORTNAME}/sounds" >> ${PLIST}; \
+	${ECHO} "@dirrmtry share/${BASE_PORTNAME}" >> ${PLIST};
 	${CHMOD} -R 0755 ${WRKDIR}/tmp/
 
 do-install:
--- freeswitch-sounds.diff ends here ---


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



More information about the freebsd-ports-bugs mailing list