diff options
author | dholland <dholland> | 2008-09-07 05:19:33 +0000 |
---|---|---|
committer | dholland <dholland> | 2008-09-07 05:19:33 +0000 |
commit | 9fb744c9535e87667dea1826a1f752f1c60ac8f9 (patch) | |
tree | 03a5dfaeb3f2336a9a524bbf578c68893548d7f1 | |
parent | 9ef0861f79f8101f128e166b8cd2fcbe3fa7f08e (diff) | |
download | pkgsrc-9fb744c9535e87667dea1826a1f752f1c60ac8f9.tar.gz |
Use ${INSTALL_ENV} instead of passing DESTDIR explicitly, at the
suggestion of bjs@.
-rw-r--r-- | lang/gcc3-c++/Makefile | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/lang/gcc3-c++/Makefile b/lang/gcc3-c++/Makefile index 1c4fb6ededf..cc45b9ff94b 100644 --- a/lang/gcc3-c++/Makefile +++ b/lang/gcc3-c++/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.19 2008/09/07 02:10:15 dholland Exp $ +# $NetBSD: Makefile,v 1.20 2008/09/07 05:19:33 dholland Exp $ PKGNAME= gcc3${GCC3_PKGMODIF}-c++-${GCC_VERSION} COMMENT= GNU Compiler Collection, v3 - C++ compiler @@ -25,12 +25,10 @@ post-build: do-install: ${INSTALL_PROGRAM_DIR} ${DESTDIR}${GCC_ARCHDIR} ${INSTALL_PROGRAM} ${WRKSRC}/gcc/cc1plus ${DESTDIR}${GCC_ARCHDIR} - cd ${WRKSRC}/gcc && ${SETENV} ${MAKE_ENV} ${GMAKE} \ - c++.install-common c++.install-man \ - DESTDIR=${DESTDIR:Q} - cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${GMAKE} \ - install-target-libstdc++-v3 \ - DESTDIR=${DESTDIR:Q} + cd ${WRKSRC}/gcc && ${SETENV} ${MAKE_ENV} ${INSTALL_ENV} ${GMAKE} \ + c++.install-common c++.install-man + cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${INSTALL_ENV} ${GMAKE} \ + install-target-libstdc++-v3 post-install: ${INSTALL_DATA_DIR} ${DESTDIR:Q}${GCC_PREFIX}/mk |