diff options
author | drochner <drochner@pkgsrc.org> | 2011-07-15 19:59:40 +0000 |
---|---|---|
committer | drochner <drochner@pkgsrc.org> | 2011-07-15 19:59:40 +0000 |
commit | 900b0b04a8aa3eeeb5969930542c2efc7e7eb92c (patch) | |
tree | 44565c695b1c997873a08942088c1884a22bdaee /lang/gnat-aux/Makefile | |
parent | e3097d167906a6a91a45eeb116bbcf70687b0c90 (diff) | |
download | pkgsrc-900b0b04a8aa3eeeb5969930542c2efc7e7eb92c.tar.gz |
fix DESTDIR installation problems, from John Marino per PR pkg/45134
Diffstat (limited to 'lang/gnat-aux/Makefile')
-rw-r--r-- | lang/gnat-aux/Makefile | 7 |
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} |