- Improve the previous fix: do not duplicate fix-perl-things code, instead make the target run after post-install to fix things installed from there
Approved by: portmgr blanket
This commit is contained in:
parent
9cac30a1b0
commit
2c848c14ef
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=397688
1 changed files with 2 additions and 2 deletions
|
@ -36,6 +36,8 @@ HEADERFILES= sp_func.h sp_func.h sp_events.h
|
|||
PERL_CONFIGURE_ARGS= CC="${CC}" CCFLAGS="${CFLAGS}" PREFIX="${PREFIX}" \
|
||||
INSTALLPRIVLIB="${PREFIX}/lib" INSTALLARCHLIB="${PREFIX}/lib"
|
||||
|
||||
TARGET_ORDER_OVERRIDE= 710:fix-perl-things
|
||||
|
||||
post-configure:
|
||||
@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' \
|
||||
${WRKSRC}/docs/${PORTNAME}.1 ${WRKSRC}/docs/spmonitor.1
|
||||
|
@ -65,7 +67,5 @@ post-install:
|
|||
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libspread.so.1
|
||||
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libtspread.so.1
|
||||
${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Spread/Spread.so
|
||||
${REINPLACE_CMD} -i '' -e 's|^${STAGEDIR}||' ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Spread/.packlist
|
||||
${ECHO_CMD} ${PREFIX}/${SITE_ARCH_REL}/auto/Spread/.packlist >> ${TMPPLIST}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
Loading…
Reference in a new issue