summaryrefslogtreecommitdiff
path: root/devel/binutils/Makefile
diff options
context:
space:
mode:
authorjperkin <jperkin>2012-12-06 11:38:19 +0000
committerjperkin <jperkin>2012-12-06 11:38:19 +0000
commitd1075ac5e177cf818e38cd0f1505c26f36dc3a71 (patch)
tree555081b2fb5c41657ee3f23bba4dfdd954cbed5e /devel/binutils/Makefile
parent0a481916e940c97ca2e8df1f9108861623f22bb1 (diff)
downloadpkgsrc-d1075ac5e177cf818e38cd0f1505c26f36dc3a71.tar.gz
Add PKGGNUDIR support.
Diffstat (limited to 'devel/binutils/Makefile')
-rw-r--r--devel/binutils/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/devel/binutils/Makefile b/devel/binutils/Makefile
index 9232fe2302a..4b648892890 100644
--- a/devel/binutils/Makefile
+++ b/devel/binutils/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.49 2012/11/21 07:46:40 jperkin Exp $
+# $NetBSD: Makefile,v 1.50 2012/12/06 11:40:57 jperkin Exp $
DISTNAME= binutils-2.22
PKGREVISION= 1
@@ -84,11 +84,11 @@ post-install:
.for f in ${SYMLINK_FILES}
set -e; \
if [ -f ${DESTDIR}${PREFIX}/bin/g${f:Q} ]; then \
- ${LN} -sf ${PREFIX}/bin/g${f} ${DESTDIR}${PREFIX}/gnu/bin/${f}; \
+ ${LN} -sf ${PREFIX}/bin/g${f} ${DESTDIR}${PREFIX}/${PKGGNUDIR}bin/${f}; \
fi
if [ -f ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/g${f:Q}.1 ]; then \
${LN} -sf ${PREFIX}/${PKGMANDIR}/man1/g${f}.1 \
- ${DESTDIR}${PREFIX}/gnu/man/man1/${f}.1; \
+ ${DESTDIR}${PREFIX}/${PKGGNUDIR}${PKGMANDIR}/man1/${f}.1; \
fi
.endfor