svn commit: r371282 - head/devel/binutils
Andrew Turner
andrew at FreeBSD.org
Mon Oct 20 16:51:11 UTC 2014
Author: andrew (src committer)
Date: Mon Oct 20 16:51:10 2014
New Revision: 371282
URL: https://svnweb.freebsd.org/changeset/ports/371282
QAT: https://qat.redports.org/buildarchive/r371282/
Log:
Don't remove the directory containing the tools when
PKGNAMEPREFIX == BUTARGET.
Differential Revision: https://reviews.freebsd.org/D968
Approved by: bapt
Modified:
head/devel/binutils/Makefile
Modified: head/devel/binutils/Makefile
==============================================================================
--- head/devel/binutils/Makefile Mon Oct 20 16:15:04 2014 (r371281)
+++ head/devel/binutils/Makefile Mon Oct 20 16:51:10 2014 (r371282)
@@ -83,7 +83,9 @@ post-install:
${RM} ${STAGEDIR}${PREFIX}/include/ansidecl.h
${REINPLACE_CMD} '/#include "ansidecl.h"/d' ${STAGEDIR}${PREFIX}/include/bfd.h
.else
+.if ${PKGNAMEPREFIX:S/-$//} != ${BUTARGET}
${RM} -rf ${STAGEDIR}${PREFIX}/${PKGNAMEPREFIX:S/-$//}
+.endif
${LN} -fs ../../bin/${BUTARGET}-size ${STAGEDIR}${PREFIX}/${BUTARGET}/bin/size
.endif
More information about the svn-ports-all
mailing list