summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorreed <reed>2008-04-16 22:50:43 +0000
committerreed <reed>2008-04-16 22:50:43 +0000
commit00c45a58ba4f4ace22c184b7ca852a3b50feeab9 (patch)
tree723adc8c329b4ca48472c9e313e4d74e22aa993b /devel
parentcd344ac591128fb867c89762362dc2ae31091a4e (diff)
downloadpkgsrc-00c45a58ba4f4ace22c184b7ca852a3b50feeab9.tar.gz
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 (limited to 'devel')
-rw-r--r--devel/pkg-config/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/devel/pkg-config/Makefile b/devel/pkg-config/Makefile
index 59d783401f0..f57215e23ce 100644
--- a/devel/pkg-config/Makefile
+++ b/devel/pkg-config/Makefile
@@ -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 @@ CONFLICTS= pkgconfig-[0-9]*
.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