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.
This commit is contained in:
grant 2004-02-14 00:40:55 +00:00
parent 5f70d86fba
commit 6f27874b98

View file

@ -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
#