pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang/gcc3-c++ Use ${INSTALL_ENV} instead of passing DE...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/cbccab951662
branches:  trunk
changeset: 546724:cbccab951662
user:      dholland <dholland%pkgsrc.org@localhost>
date:      Sun Sep 07 05:19:33 2008 +0000

description:
Use ${INSTALL_ENV} instead of passing DESTDIR explicitly, at the
suggestion of bjs@.

diffstat:

 lang/gcc3-c++/Makefile |  12 +++++-------
 1 files changed, 5 insertions(+), 7 deletions(-)

diffs (26 lines):

diff -r 6dc6d3f68d55 -r cbccab951662 lang/gcc3-c++/Makefile
--- a/lang/gcc3-c++/Makefile    Sun Sep 07 05:12:58 2008 +0000
+++ b/lang/gcc3-c++/Makefile    Sun Sep 07 05:19:33 2008 +0000
@@ -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 @@
 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



Home | Main Index | Thread Index | Old Index