diff options
author | grant <grant@pkgsrc.org> | 2004-02-14 00:40:55 +0000 |
---|---|---|
committer | grant <grant@pkgsrc.org> | 2004-02-14 00:40:55 +0000 |
commit | df8a2f85092fc1982d20a8e84fb2ef444a82f840 (patch) | |
tree | 82b438736a31a38b940580c9be60ed29086580d7 /mk | |
parent | abcc3e091fc2025661d1c1e0196ccc1d008a47ae (diff) | |
download | pkgsrc-df8a2f85092fc1982d20a8e84fb2ef444a82f840.tar.gz |
if using GNU configure and CONFIG_{GUESS,SUB}_OVERRIDE is not defined,
default to overriding ${WRKSRC}/config.{guess,sub} so packages can
recognise platforms such as NetBSD/shark.
Diffstat (limited to 'mk')
-rw-r--r-- | mk/bsd.pkg.mk | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk index 83590060fc8..2b25abf40bd 100644 --- a/mk/bsd.pkg.mk +++ b/mk/bsd.pkg.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.pkg.mk,v 1.1396 2004/02/13 19:02:07 wiz Exp $ +# $NetBSD: bsd.pkg.mk,v 1.1397 2004/02/14 00:40:55 grant Exp $ # # This file is in the public domain. # @@ -1299,6 +1299,13 @@ HAS_CONFIGURE= yes CONFIGURE_ARGS+= --x-includes=${X11BASE}/include CONFIGURE_ARGS+= --x-libraries=${X11BASE}/lib . endif +# +# By default, override config.guess and config.sub for GNU configure +# packages. pkgsrc's updated versions of these scripts allows GNU +# configure to recognise NetBSD ports such as shark. +# +CONFIG_GUESS_OVERRIDE?= ${WRKSRC}/config.guess +CONFIG_SUB_OVERRIDE?= ${WRKSRC}/config.sub .endif # |