summaryrefslogtreecommitdiff
path: root/x11/libXext/Makefile
diff options
context:
space:
mode:
authortnn <tnn>2008-05-16 13:48:41 +0000
committertnn <tnn>2008-05-16 13:48:41 +0000
commit44b48a79c45694d54f7db5d598a9eddd3a31816f (patch)
tree8e84570db5272a747c70fae70fe787ea4ce6e19c /x11/libXext/Makefile
parentdb7891555369c567bcb8dde255d44bca6bbe8037 (diff)
downloadpkgsrc-44b48a79c45694d54f7db5d598a9eddd3a31816f.tar.gz
Some of the X.org packages assume that the C preprocessor will use stdin
if no filename given, but this isn't true with the native HP compiler, so teach them to use '-' explicitly. XXX using cpp(1) to postprocess manpages is ugly, most of the other X.org packages seem to have been converted to use sed(1).
Diffstat (limited to 'x11/libXext/Makefile')
-rw-r--r--x11/libXext/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/x11/libXext/Makefile b/x11/libXext/Makefile
index 0a4ddfcc7a7..c0aab80b851 100644
--- a/x11/libXext/Makefile
+++ b/x11/libXext/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2008/03/02 14:44:47 bjs Exp $
+# $NetBSD: Makefile,v 1.6 2008/05/16 13:48:41 tnn Exp $
#
DISTNAME= libXext-1.0.4
@@ -25,6 +25,11 @@ PKGCONFIG_OVERRIDE+= xext.pc.in
CONFIGURE_ARGS+= --disable-malloc0returnsnull
.endif
+.include "../../mk/compiler.mk"
+.if !empty(PKGSRC_COMPILER:Mhp)
+CONFIGURE_ENV+= ac_cv_path_RAWCPP="cc -E -Uunix -"
+.endif
+
.include "../../x11/libX11/buildlink3.mk"
.include "../../x11/xextproto/buildlink3.mk"
.include "../../x11/xproto/buildlink3.mk"