Date: Tue, 7 Sep 2010 01:28:09 +0200 (CEST) From: Koop Mast <kwm@FreeBSD.org> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/150337: Add PLIST_DIRSTRY macro Message-ID: <20100906232809.18FBF107BC02@mail.rainbow-runner.nl> Resent-Message-ID: <201009062350.o86No1tw000698@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 150337 >Category: ports >Synopsis: Add PLIST_DIRSTRY macro >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Sep 06 23:50:01 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Koop Mast >Release: FreeBSD 8.1-RELEASE amd64 >Organization: >Environment: System: FreeBSD hermes.rainbow-runner.nl 8.1-RELEASE FreeBSD 8.1-RELEASE #0 r210193: Sat Jul 17 18:42:05 CEST 2010 root@hermes.rainbow-runner.nl:/var/obj/usr/src/sys/Hermes amd64 >Description: Add PLIST_DIRSTRY macro that does the same as PLIST_DIRS but for the @dirrmtry macro instead of the @dirrm macro. <how to correct or work around the problem, if known (multiple lines)> --- bsd.port.mk-dirstry begins here --- Index: Mk/bsd.port.mk =================================================================== RCS file: /home/pcvs/ports/Mk/bsd.port.mk,v retrieving revision 1.644 diff -a -u -r1.644 bsd.port.mk --- Mk/bsd.port.mk 20 Aug 2010 12:15:02 -0000 1.644 +++ Mk/bsd.port.mk 6 Sep 2010 23:17:29 -0000 @@ -966,6 +966,7 @@ # Default: ${PORTSDIR}/Templates/BSD.local.dist or # /etc/mtree/BSD.usr.dist if ${PREFIX} == "/usr". # PLIST_DIRS - Directories to be added to packing list +# PLIST_DIRSTRY - Directories to be added to packing list and try to remove them. # PLIST_FILES - Files and symbolic links to be added to packing list # # PLIST - Name of the `packing list' file. @@ -5687,6 +5688,9 @@ .for dir in ${PLIST_DIRS} @${ECHO_CMD} ${dir} | ${SED} ${PLIST_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} -e 's,^,@dirrm ,' >> ${TMPPLIST} .endfor +.for dir in ${PLIST_DIRSTRY} + @${ECHO_CMD} ${dir} | ${SED} ${PLIST_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} -e 's,^,@dirrmtry ,' >> ${TMPPLIST} +.endfor .if defined(USE_LINUX_PREFIX) .if defined(USE_LDCONFIG) @${ECHO_CMD} "@exec ${LDCONFIG_CMD}" >> ${TMPPLIST} --- bsd.port.mk-dirstry ends here --- >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100906232809.18FBF107BC02>