diff options
author | Pav Lucistnik <pav@FreeBSD.org> | 2010-11-08 16:07:03 +0000 |
---|---|---|
committer | Pav Lucistnik <pav@FreeBSD.org> | 2010-11-08 16:07:03 +0000 |
commit | e6659d08accc266f8f4145e0f854dadcc5793010 (patch) | |
tree | 7bf61f7202bdcaa339cc012fd58ffed0b819f9b4 /Mk | |
parent | a9a88f07eeef96b954dd3e3bdb62a4a20ee508c2 (diff) | |
download | ports-e6659d08accc266f8f4145e0f854dadcc5793010.tar.gz ports-e6659d08accc266f8f4145e0f854dadcc5793010.zip |
- Fix PLIST_DIRSTRY: swap the substitutions to the proper order
PR: ports/151799
Submitted by: sunpoet
Notes
Notes:
svn path=/head/; revision=264257
Diffstat (limited to 'Mk')
-rw-r--r-- | Mk/bsd.port.mk | 12 |
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} |