From 28eb93785964a7232a20d2d0971b9aff8218e3e0 Mon Sep 17 00:00:00 2001 From: tron Date: Sat, 18 Aug 2012 14:40:12 +0000 Subject: Disable DTrace support under NetBSD which breaks the build if DTrace is actually installed. --- devel/pkg-config/Makefile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'devel/pkg-config') 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 -- cgit v1.2.3