aboutsummaryrefslogtreecommitdiff
path: root/Mk
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2010-11-08 16:07:03 +0000
committerPav Lucistnik <pav@FreeBSD.org>2010-11-08 16:07:03 +0000
commite6659d08accc266f8f4145e0f854dadcc5793010 (patch)
tree7bf61f7202bdcaa339cc012fd58ffed0b819f9b4 /Mk
parenta9a88f07eeef96b954dd3e3bdb62a4a20ee508c2 (diff)
downloadports-e6659d08accc266f8f4145e0f854dadcc5793010.tar.gz
ports-e6659d08accc266f8f4145e0f854dadcc5793010.zip
Notes
Diffstat (limited to 'Mk')
-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 a2c931dddb8c..f9b22080b9ab 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}