pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/pkgtools/pkg_install Solve a chicken-and-egg problem w...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/00174b9082ad
branches:  trunk
changeset: 470957:00174b9082ad
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Sat Mar 13 19:12:26 2004 +0000

description:
Solve a chicken-and-egg problem where pkgsrc uses newer features of
pkg_install, but older NetBSD installations, e.g. 1.5.3, won't support
them.  In this case, we explicitly use the native GCC compiler to
avoid problems with depending on pkgsrc GCC for building pkg_install.

diffstat:

 pkgtools/pkg_install/Makefile |  10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)

diffs (24 lines):

diff -r 7c2e9530422f -r 00174b9082ad pkgtools/pkg_install/Makefile
--- a/pkgtools/pkg_install/Makefile     Sat Mar 13 19:08:37 2004 +0000
+++ b/pkgtools/pkg_install/Makefile     Sat Mar 13 19:12:26 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.95 2004/02/11 11:41:43 grant Exp $
+# $NetBSD: Makefile,v 1.96 2004/03/13 19:12:26 jlam Exp $
 
 # Notes to package maintainers:
 #
@@ -33,6 +33,14 @@
 NO_TOOLS=              # defined
 PKG_PRESERVE=          # defined
 
+# This is needed to solve a chicken-and-egg problem where pkgsrc uses
+# newer features of pkg_install, but older NetBSD installations won't
+# support them.  In this case, we explicitly use the native GCC
+# compiler to avoid problems with depending on pkgsrc GCC for building
+# pkg_install.
+#
+USE_NATIVE_GCC=                yes
+
 PLIST_SUBST+=          MANDIR=${MANDIR}
 PLIST_SUBST+=          PKG_TOOLS_BIN=${PKG_TOOLS_BIN}
 



Home | Main Index | Thread Index | Old Index