From 0de1905439cf05dfd6b9b59a7afeba119a421605 Mon Sep 17 00:00:00 2001 From: jlam Date: Sat, 13 Mar 2004 19:12:26 +0000 Subject: 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. --- pkgtools/pkg_install/Makefile | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'pkgtools/pkg_install') 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} -- cgit v1.2.3