pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/pkgconfig Work around a particular IRIX oddity:



details:   https://anonhg.NetBSD.org/pkgsrc/rev/69ef8900aec5
branches:  trunk
changeset: 472828:69ef8900aec5
user:      jschauma <jschauma%pkgsrc.org@localhost>
date:      Mon Apr 12 20:28:54 2004 +0000

description:
Work around a particular IRIX oddity:
it fails to re-read the config.cache.  Don't use a cache under IRIX, then.
(At least this way we can build this package which otherwise would break
some 650 dependencies.)

diffstat:

 devel/pkgconfig/Makefile |  9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

diffs (23 lines):

diff -r c9012e249682 -r 69ef8900aec5 devel/pkgconfig/Makefile
--- a/devel/pkgconfig/Makefile  Mon Apr 12 20:21:54 2004 +0000
+++ b/devel/pkgconfig/Makefile  Mon Apr 12 20:28:54 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.16 2004/02/14 17:21:39 jlam Exp $
+# $NetBSD: Makefile,v 1.17 2004/04/12 20:28:54 jschauma Exp $
 #
 
 DISTNAME=      pkgconfig-0.15.0
@@ -16,6 +16,13 @@
 USE_LIBTOOL=           YES
 CONFIGURE_ARGS+=       --disable-threads
 
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "IRIX"
+# configure bails out in subdir after re-parsing the cache
+CONFIGURE_ARGS+=       --cache-file=/dev/null
+.endif
+
 TEST_TARGET=           check
 
 post-install:



Home | Main Index | Thread Index | Old Index