diff options
author | jlam <jlam> | 2004-03-13 19:12:26 +0000 |
---|---|---|
committer | jlam <jlam> | 2004-03-13 19:12:26 +0000 |
commit | 4cb9eb2a861db3eac913697736126f3a8f34b53a (patch) | |
tree | e17fa8a0e671e1cd3d92288ee1e013d1891095ef /pkgtools | |
parent | 8fec1cabfc207d84306077f8413387fed0af8934 (diff) | |
download | pkgsrc-4cb9eb2a861db3eac913697736126f3a8f34b53a.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')
-rw-r--r-- | pkgtools/pkg_install/Makefile | 10 |
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} |