diff options
author | grant <grant> | 2004-02-14 00:40:55 +0000 |
---|---|---|
committer | grant <grant> | 2004-02-14 00:40:55 +0000 |
commit | f3e37460259d7529089bc9abcafcda9b803e3e51 (patch) | |
tree | 82b438736a31a38b940580c9be60ed29086580d7 | |
parent | 09d73c56608834616fb89092e700d78a5bcc8dc1 (diff) | |
download | pkgsrc-f3e37460259d7529089bc9abcafcda9b803e3e51.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.
-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 # |