summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2010-11-08 16:07:03 +0000
committerpav <pav@FreeBSD.org>2010-11-08 16:07:03 +0000
commitbf495a16d0d5465f2038743e9387408f58fefd2d (patch)
tree76b33dd5dee770c116b6d08b6c4e33ea79232b89
parentf422a481a723c0ff08c4185acf17802e4efb263d (diff)
downloadFreeBSD-ports-bf495a16d0d5465f2038743e9387408f58fefd2d.zip
FreeBSD-ports-bf495a16d0d5465f2038743e9387408f58fefd2d.tar.gz
- Fix PLIST_DIRSTRY: swap the substitutions to the proper order
PR: ports/151799 Submitted by: sunpoet
-rw-r--r--Mk/bsd.port.mk12
1 files changed, 7 insertions, 5 deletions
diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk
index a2c931d..f9b2208 100644
--- a/Mk/bsd.port.mk
+++ b/Mk/bsd.port.mk
@@ -5708,11 +5708,6 @@ generate-plist:
@if [ -f ${PLIST} ]; then \
${SED} ${PLIST_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} ${PLIST} >> ${TMPPLIST}; \
fi
-.for reinplace in ${PLIST_REINPLACE}
-.if defined(PLIST_REINPLACE_${reinplace:U})
- @${SED} -i "" -e '${PLIST_REINPLACE_${reinplace:U}}' ${TMPPLIST}
-.endif
-.endfor
.for dir in ${PLIST_DIRS}
@${ECHO_CMD} ${dir} | ${SED} ${PLIST_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} -e 's,^,@dirrm ,' >> ${TMPPLIST}
@@ -5720,6 +5715,13 @@ generate-plist:
.for dir in ${PLIST_DIRSTRY}
@${ECHO_CMD} ${dir} | ${SED} ${PLIST_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} -e 's,^,@dirrmtry ,' >> ${TMPPLIST}
.endfor
+
+.for reinplace in ${PLIST_REINPLACE}
+.if defined(PLIST_REINPLACE_${reinplace:U})
+ @${SED} -i "" -e '${PLIST_REINPLACE_${reinplace:U}}' ${TMPPLIST}
+.endif
+.endfor
+
.if defined(USE_LINUX_PREFIX)
.if defined(USE_LDCONFIG)
@${ECHO_CMD} "@exec ${LDCONFIG_CMD}" >> ${TMPPLIST}
OpenPOWER on IntegriCloud