From 2c848c14ef6b780846c38210471673be4894a502 Mon Sep 17 00:00:00 2001 From: Dmitry Marakasov Date: Thu, 24 Sep 2015 11:28:39 +0000 Subject: [PATCH] - 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 --- net/spread/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/net/spread/Makefile b/net/spread/Makefile index 085d5e48bd90..5e9041339827 100644 --- a/net/spread/Makefile +++ b/net/spread/Makefile @@ -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