diff options
Diffstat (limited to 'devel/binutils')
-rw-r--r-- | devel/binutils/Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/devel/binutils/Makefile b/devel/binutils/Makefile index d0b72ed898b7..2cf7551859a4 100644 --- a/devel/binutils/Makefile +++ b/devel/binutils/Makefile @@ -3,7 +3,7 @@ PORTNAME= binutils PORTVERSION= 2.30 -PORTREVISION= 5 +PORTREVISION= 6 PORTEPOCH?= 1 CATEGORIES?= devel MASTER_SITES= SOURCEWARE/binutils/releases @@ -46,7 +46,7 @@ BUTARGET?= ${PKGNAMEPREFIX}unknown-${OPSYS:tl}${OSREL} .endif PLIST_SUB= BUTARGET=${BUTARGET} OPTIONS_EXCLUDE= NLS -INFO_PATH= ${PKGNAMEPREFIX:S/-$//}/info +INFO_PATH= ${PKGNAMEPREFIX:S/-$//}/share/info CONFIGURE_ARGS+= --disable-shared \ --target=${BUTARGET} .else @@ -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 |