From 900b0b04a8aa3eeeb5969930542c2efc7e7eb92c Mon Sep 17 00:00:00 2001 From: drochner Date: Fri, 15 Jul 2011 19:59:40 +0000 Subject: fix DESTDIR installation problems, from John Marino per PR pkg/45134 --- lang/gnat-aux/Makefile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'lang/gnat-aux/Makefile') 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} -- cgit v1.2.3