summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authordrochner <drochner>2011-07-15 19:59:40 +0000
committerdrochner <drochner>2011-07-15 19:59:40 +0000
commit753280ac621b2f3c095d7a531200ae147557aa93 (patch)
tree44565c695b1c997873a08942088c1884a22bdaee /lang
parenta5329b0eeec2de451ce45ab1717f749900e9eebf (diff)
downloadpkgsrc-753280ac621b2f3c095d7a531200ae147557aa93.tar.gz
fix DESTDIR installation problems, from John Marino per PR pkg/45134
Diffstat (limited to 'lang')
-rw-r--r--lang/gnat-aux/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/lang/gnat-aux/Makefile b/lang/gnat-aux/Makefile
index 9c5a2daebe2..ed0f85ee8a9 100644
--- a/lang/gnat-aux/Makefile
+++ b/lang/gnat-aux/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2011/05/10 13:46:22 drochner Exp $
+# $NetBSD: Makefile,v 1.4 2011/07/15 19:59:40 drochner Exp $
#
DISTNAME= gnat-aux-${SNAPSHOT}
@@ -159,7 +159,7 @@ CONFIGURE_ARGS+= --disable-nls
# Automatic package list generation
# lib/libquadmath.* will have to be added if __float128 support is added
# Alternatively, libquadmath support could be intentionally disabled.
-GENERATE_PLIST= cd ${PREFIX};
+GENERATE_PLIST= cd ${DESTDIR}${PREFIX};
GENERATE_PLIST+= ${FIND} bin/gnat* | ${SORT};
GENERATE_PLIST+= ${FIND} bin/${BLD_TARGET}* | ${SORT};
GENERATE_PLIST+= ${FIND} lib/libiberty.a;
@@ -243,7 +243,8 @@ do-test: build
do-install:
- cd ${WRKSRC} && ${SETENV} ${MY_MAKE_ENV} ${GMAKE} install-strip
+ cd ${WRKSRC} && ${SETENV} ${MY_MAKE_ENV} ${GMAKE} install-strip \
+ DESTDIR=${DESTDIR}