pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk/platform Defer the check of GNU_CONFIGURE until lat...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5f0be893ebdd
branches:  trunk
changeset: 487845:5f0be893ebdd
user:      tv <tv%pkgsrc.org@localhost>
date:      Fri Jan 21 02:09:10 2005 +0000

description:
Defer the check of GNU_CONFIGURE until later; should fix build of net/ORBit
(and perhaps other packages) which set GNU_CONFIGURE only after bsd.prefs.mk.

diffstat:

 mk/platform/Interix.mk |  8 ++------
 1 files changed, 2 insertions(+), 6 deletions(-)

diffs (26 lines):

diff -r ed1f314c7b8f -r 5f0be893ebdd mk/platform/Interix.mk
--- a/mk/platform/Interix.mk    Fri Jan 21 02:01:37 2005 +0000
+++ b/mk/platform/Interix.mk    Fri Jan 21 02:09:10 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Interix.mk,v 1.17 2005/01/18 22:36:37 tv Exp $
+# $NetBSD: Interix.mk,v 1.18 2005/01/21 02:09:10 tv Exp $
 #
 # Variable definitions for the Interix operating system.
 
@@ -185,15 +185,11 @@
 
 # poll(2) is broken; try to work around it by making autoconf believe
 # it's missing.  (Packages without autoconf will need explicit fixing.)
-.ifdef GNU_CONFIGURE
-CONFIGURE_ENV+=                ac_cv_header_poll_h=no ac_cv_func_poll=no
-.endif
+CONFIGURE_ENV+=                ${GNU_CONFIGURE:Dac_cv_header_poll_h=no ac_cv_func_poll=no}
 
 # check for maximum command line length and set it in configure's environment,
 # to avoid a test required by the libtool script that takes forever.
-.if defined(GNU_CONFIGURE) && defined(USE_LIBTOOL)
 _OPSYS_MAX_CMDLEN=     262144
-.endif
 
 # If games are to be installed setgid, then SETGIDGAME is set to 'yes'
 # (it defaults to 'no' as per bsd.pkg.defaults.mk).



Home | Main Index | Thread Index | Old Index