summaryrefslogtreecommitdiff
path: root/pkgtools/pkg_install
diff options
context:
space:
mode:
authorjlam <jlam>2004-03-13 19:12:26 +0000
committerjlam <jlam>2004-03-13 19:12:26 +0000
commit0de1905439cf05dfd6b9b59a7afeba119a421605 (patch)
treee17fa8a0e671e1cd3d92288ee1e013d1891095ef /pkgtools/pkg_install
parent63fbf263b9b338a89adfbfce976336cca12bb070 (diff)
downloadpkgsrc-0de1905439cf05dfd6b9b59a7afeba119a421605.tar.gz
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 (limited to 'pkgtools/pkg_install')
-rw-r--r--pkgtools/pkg_install/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/pkgtools/pkg_install/Makefile b/pkgtools/pkg_install/Makefile
index afb616c1b33..8058561d563 100644
--- a/pkgtools/pkg_install/Makefile
+++ b/pkgtools/pkg_install/Makefile
@@ -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_PACKAGE= Deinstallation is not permitted
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}