diff options
author | dholland <dholland@pkgsrc.org> | 2008-09-07 05:19:33 +0000 |
---|---|---|
committer | dholland <dholland@pkgsrc.org> | 2008-09-07 05:19:33 +0000 |
commit | c68b03b4b70462d17312973b8dbebef94ac07f5f (patch) | |
tree | 03a5dfaeb3f2336a9a524bbf578c68893548d7f1 /lang/gcc3-c++ | |
parent | e370218398477721fc888df86e85c5cc8b9beb89 (diff) | |
download | pkgsrc-c68b03b4b70462d17312973b8dbebef94ac07f5f.tar.gz |
Use ${INSTALL_ENV} instead of passing DESTDIR explicitly, at the
suggestion of bjs@.
Diffstat (limited to 'lang/gcc3-c++')
-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 |