Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Sep 2015 11:28:40 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r397688 - head/net/spread
Message-ID:  <201509241128.t8OBSeuI095880@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Thu Sep 24 11:28:39 2015
New Revision: 397688
URL: https://svnweb.freebsd.org/changeset/ports/397688

Log:
  - 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

Modified:
  head/net/spread/Makefile

Modified: head/net/spread/Makefile
==============================================================================
--- head/net/spread/Makefile	Thu Sep 24 11:15:07 2015	(r397687)
+++ head/net/spread/Makefile	Thu Sep 24 11:28:39 2015	(r397688)
@@ -36,6 +36,8 @@ HEADERFILES=	sp_func.h sp_func.h sp_even
 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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201509241128.t8OBSeuI095880>