summaryrefslogtreecommitdiff
path: root/devel/pkg-config
diff options
context:
space:
mode:
authortron <tron>2012-08-18 14:40:12 +0000
committertron <tron>2012-08-18 14:40:12 +0000
commit28eb93785964a7232a20d2d0971b9aff8218e3e0 (patch)
treea6e4547c9320a67229b85745e356e9c18704654c /devel/pkg-config
parenta87e094da93735edda69337c6e231c0094d55223 (diff)
downloadpkgsrc-28eb93785964a7232a20d2d0971b9aff8218e3e0.tar.gz
Disable DTrace support under NetBSD which breaks the build if DTrace is
actually installed.
Diffstat (limited to 'devel/pkg-config')
-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 a18bf6c2f3f..71f16631dfc 100644
--- a/devel/pkg-config/Makefile
+++ b/devel/pkg-config/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.22 2012/08/15 10:12:54 jperkin Exp $
+# $NetBSD: Makefile,v 1.23 2012/08/18 14:40:12 tron Exp $
DISTNAME= pkg-config-0.27
PKGREVISION= 1
@@ -31,6 +31,13 @@ CONFLICTS= pkgconfig-[0-9]*
CONFIGURE_ARGS+= --cache-file=/dev/null
.endif
+.if ${OPSYS} == "NetBSD"
+post-configure:
+ cd ${WRKSRC}/glib; \
+ ${GREP} -v HAVE_DTRACE config.h >config.h.new; \
+ ${MV} config.h.new config.h
+.endif
+
.if ${OPSYS} == "SunOS"
CONFIGURE_ARGS+= --with-libiconv=gnu
CONFIGURE_ARGS+= --disable-dtrace