pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mk if using GNU configure and CONFIG_{GUESS,SUB}_OVERR...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9e36b6b683dd
branches:  trunk
changeset: 468453:9e36b6b683dd
user:      grant <grant%pkgsrc.org@localhost>
date:      Sat Feb 14 00:40:55 2004 +0000

description:
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:

 mk/bsd.pkg.mk |  9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

diffs (23 lines):

diff -r fd8e94983a37 -r 9e36b6b683dd mk/bsd.pkg.mk
--- a/mk/bsd.pkg.mk     Sat Feb 14 00:24:34 2004 +0000
+++ b/mk/bsd.pkg.mk     Sat Feb 14 00:40:55 2004 +0000
@@ -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 @@
 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
 
 #



Home | Main Index | Thread Index | Old Index