Date: Mon, 10 Jan 2011 21:30:44 +0300 From: Andrej Zverev <az@FreeBSD.org> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/153854: [patch] audio/freeswitch-sounds fix usage of @dirrmtry macro Message-ID: <E1PcMVw-000OBt-DN@sunner.semmy.ru> Resent-Message-ID: <201101101840.p0AIe94d092916@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1PcMVw-000OBt-DN>