pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/pkg-config The va_copy configure checks for the ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1463d2aa6853
branches:  trunk
changeset: 541224:1463d2aa6853
user:      reed <reed%pkgsrc.org@localhost>
date:      Wed Apr 16 22:50:43 2008 +0000

description:
The va_copy configure checks for the included glib1.
So on FreeBSD before 5 default to glib_cv_va_copy=no.
(Time to upgrade :)

diffstat:

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

diffs (23 lines):

diff -r 7f71a29535f7 -r 1463d2aa6853 devel/pkg-config/Makefile
--- a/devel/pkg-config/Makefile Wed Apr 16 22:11:44 2008 +0000
+++ b/devel/pkg-config/Makefile Wed Apr 16 22:50:43 2008 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.13 2008/03/24 14:27:33 obache Exp $
+# $NetBSD: Makefile,v 1.14 2008/04/16 22:50:43 reed Exp $
 #
 
 DISTNAME=      pkg-config-0.23
@@ -21,6 +21,13 @@
 
 .include "../../mk/bsd.prefs.mk"
 
+.if ${OPSYS} == "FreeBSD"
+.  if ${OS_VERSION:R} < 5
+# configure checks but does not fail on warning
+CONFIGURE_ENV+=                glib_cv_va_copy=no
+.  endif
+.endif
+
 .if ${OPSYS} == "IRIX"
 # configure bails out in subdir after re-parsing the cache
 CONFIGURE_ARGS+=       --cache-file=/dev/null



Home | Main Index | Thread Index | Old Index