aboutsummaryrefslogtreecommitdiff
path: root/devel/binutils
diff options
context:
space:
mode:
authorAntoine Brodin <antoine@FreeBSD.org>2018-11-11 08:05:34 +0000
committerAntoine Brodin <antoine@FreeBSD.org>2018-11-11 08:05:34 +0000
commit223f3aac2ac6aa3779fc3ba6232feab502d82f98 (patch)
tree2eec6da39abcd968b89e3c3fd66be385f4d378ad /devel/binutils
parent19ccd59b0719f24341e56be5cbab9e161aa19430 (diff)
downloadports-223f3aac2ac6aa3779fc3ba6232feab502d82f98.tar.gz
ports-223f3aac2ac6aa3779fc3ba6232feab502d82f98.zip
Notes
Diffstat (limited to 'devel/binutils')
-rw-r--r--devel/binutils/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/devel/binutils/Makefile b/devel/binutils/Makefile
index b0696ad8d2de..ff76f804938f 100644
--- a/devel/binutils/Makefile
+++ b/devel/binutils/Makefile
@@ -120,7 +120,7 @@ post-install:
${RM} -r ${STAGEDIR}${PREFIX}/${PKGNAMEPREFIX:S/-$//}
.endif
${RM} ${STAGEDIR}${PREFIX}/${BUTARGET}/lib/ldscripts/i386bsd.*
- @if [ -d ${STAGEDIR}${PREFIX}/${INFO_PATH} ] ; then rm -rf ${STAGEDIR}${PREFIX}/${INFO_PATH}; fi
+ @if [ -d ${STAGEDIR}${PREFIX}/${INFO_PATH:H} ] ; then rm -rf ${STAGEDIR}${PREFIX}/${INFO_PATH:H}; fi
${LN} -fs ../../bin/${BUTARGET}-size ${STAGEDIR}${PREFIX}/${BUTARGET}/bin/size
.if defined(CROSS_TOOLCHAIN)
${MV} ${STAGEDIR}/usr/bin/as ${STAGEDIR}/usr/bin/${BUTARGET}-as