summaryrefslogtreecommitdiff
path: root/sysutils/coreutils
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 /sysutils/coreutils
parentfd61cb92740bc60c6a0ab08b35c0aa84934f97c1 (diff)
downloadpkgsrc-b17b53dc8e583cdf15aa1f3ae609d744e2cce357.tar.gz
Add PKGGNUDIR support.
Diffstat (limited to 'sysutils/coreutils')
-rw-r--r--sysutils/coreutils/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/sysutils/coreutils/Makefile b/sysutils/coreutils/Makefile
index 406b93089df..9e593f35927 100644
--- a/sysutils/coreutils/Makefile
+++ b/sysutils/coreutils/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.58 2012/10/03 21:57:36 wiz Exp $
+# $NetBSD: Makefile,v 1.59 2012/12/06 11:43:03 jperkin Exp $
.include "../../sysutils/coreutils/Makefile.common"
@@ -46,10 +46,10 @@ post-install:
.for f in ${PROGS}
set -e; \
if ${TEST} -f ${DESTDIR}${PREFIX}/bin/g${f:Q}; then \
- ${LN} -sf ${PREFIX}/bin/g${f:Q} ${DESTDIR}${PREFIX}/gnu/bin/${f:Q}; \
+ ${LN} -sf ${PREFIX}/bin/g${f:Q} ${DESTDIR}${PREFIX}/${PKGGNUDIR}bin/${f:Q}; \
fi; \
if ${TEST} -f ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/g${f:Q}.1; then \
- ${LN} -sf ${PREFIX}/${PKGMANDIR}/man1/g${f:Q}.1 ${DESTDIR}${PREFIX}/gnu/man/man1/${f:Q}.1; \
+ ${LN} -sf ${PREFIX}/${PKGMANDIR}/man1/g${f:Q}.1 ${DESTDIR}${PREFIX}/${PKGGNUDIR}${PKGMANDIR}/man1/${f:Q}.1; \
fi
.endfor