aboutsummaryrefslogtreecommitdiff
path: root/devel/binutils
diff options
context:
space:
mode:
Diffstat (limited to 'devel/binutils')
-rw-r--r--devel/binutils/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/devel/binutils/Makefile b/devel/binutils/Makefile
index 6781e6252100..0a1a548425d2 100644
--- a/devel/binutils/Makefile
+++ b/devel/binutils/Makefile
@@ -4,7 +4,7 @@
PORTNAME= binutils
PORTVERSION= 2.25.1
PORTEPOCH= 1
-PORTREVISION?= 1
+PORTREVISION?= 2
CATEGORIES= devel
MASTER_SITES= SOURCEWARE/binutils/releases
@@ -89,5 +89,8 @@ post-install:
${STAGEDIR}${PREFIX}/man/man1/${BUTARGET}-${tool}.1 \
${STAGEDIR}${PREFIX}/${BUTARGET}/bin/${tool}
.endfor
+.if ${BUREMOVE:Mld}
+ @${RM} -rf ${STAGEDIR}${PREFIX}/${BUTARGET}/lib/ldscripts
+.endif
.include <bsd.port.post.mk>