summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorgrant <grant@pkgsrc.org>2004-02-14 00:40:55 +0000
committergrant <grant@pkgsrc.org>2004-02-14 00:40:55 +0000
commit6f27874b9821c9547af93fd94ac4596178b4c858 (patch)
tree82b438736a31a38b940580c9be60ed29086580d7 /mk
parent5f70d86fba960fddb17934cd215e15fad5983e99 (diff)
downloadpkgsrc-6f27874b9821c9547af93fd94ac4596178b4c858.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.mk9
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
#