summaryrefslogtreecommitdiff
path: root/devel/binutils
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2012-12-06 11:38:19 +0000
committerjperkin <jperkin@pkgsrc.org>2012-12-06 11:38:19 +0000
commitb17b53dc8e583cdf15aa1f3ae609d744e2cce357 (patch)
tree555081b2fb5c41657ee3f23bba4dfdd954cbed5e /devel/binutils
parentfd61cb92740bc60c6a0ab08b35c0aa84934f97c1 (diff)
downloadpkgsrc-b17b53dc8e583cdf15aa1f3ae609d744e2cce357.tar.gz
Add PKGGNUDIR support.
Diffstat (limited to 'devel/binutils')
-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