aboutsummaryrefslogtreecommitdiff
path: root/devel/binutils/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/binutils/Makefile')
-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