aboutsummaryrefslogtreecommitdiff
path: root/devel/binutils/Makefile
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2018-08-01 17:49:33 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2018-08-01 17:49:33 +0000
commit40583ab0316f3bdac6ecb17b5595000a6de9d007 (patch)
tree19e509051a922545312aec6ee277b655860e2829 /devel/binutils/Makefile
parent65bc36682255a5aecc53091c5eb20a2b5ad16d37 (diff)
downloadports-40583ab0316f3bdac6ecb17b5595000a6de9d007.tar.gz
ports-40583ab0316f3bdac6ecb17b5595000a6de9d007.zip
Notes
Diffstat (limited to 'devel/binutils/Makefile')
-rw-r--r--devel/binutils/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/devel/binutils/Makefile b/devel/binutils/Makefile
index 676c856dce16..5ea9e0025c4d 100644
--- a/devel/binutils/Makefile
+++ b/devel/binutils/Makefile
@@ -145,11 +145,15 @@ post-install:
${MV} ${STAGEDIR}/${MANDIR}1/objdump.1 ${STAGEDIR}/${MANDIR}1/${BUTARGET}-objdump.1
${GZIP_CMD} ${STAGEDIR}/${MANDIR}1/${BUTARGET}-objdump.1
${LN} -fs ${BUTARGET}-objdump.1.gz ${STAGEDIR}/${MANDIR}1/objdump.1.gz
+ @${RM} -r ${STAGEDIR}${PREFIX}/include
+ @${RM} -r ${STAGEDIR}${PREFIX}/lib
.endif
.endif
.for tool in ${BUREMOVE}
@${RM} ${STAGEDIR}${PREFIX}/bin/${BUTARGET}-${tool} \
- ${STAGEDIR}${PREFIX}/man/man1/${BUTARGET}-${tool}.1 \
+ ${STAGEDIR}${PREFIX}/bin/${tool} \
+ ${STAGEDIR}${MANPREFIX}/man/man1/${BUTARGET}-${tool}.1 \
+ ${STAGEDIR}${MANPREFIX}/man/man1/${tool}.1 \
${STAGEDIR}${PREFIX}/${BUTARGET}/bin/${tool}
.endfor
.if defined(BUREMOVE) && ${BUREMOVE:Mld}