diff options
author | tron <tron> | 2012-08-18 14:40:12 +0000 |
---|---|---|
committer | tron <tron> | 2012-08-18 14:40:12 +0000 |
commit | 28eb93785964a7232a20d2d0971b9aff8218e3e0 (patch) | |
tree | a6e4547c9320a67229b85745e356e9c18704654c /devel/pkg-config | |
parent | a87e094da93735edda69337c6e231c0094d55223 (diff) | |
download | pkgsrc-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/Makefile | 9 |
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 |