summaryrefslogtreecommitdiff
path: root/x11/xdm
diff options
context:
space:
mode:
authortnn <tnn>2009-10-25 12:15:54 +0000
committertnn <tnn>2009-10-25 12:15:54 +0000
commit39709fd6490f00857b19a45e0d0c7b94378cead1 (patch)
treeee7dc072584d32f9bdb9531e50a11bfb7390f9fa /x11/xdm
parent6f87039be47fe22e120859d9b4828f4e32232cf4 (diff)
downloadpkgsrc-39709fd6490f00857b19a45e0d0c7b94378cead1.tar.gz
More build fixes for non-GNU cpp(1) which usually doesn't grok -undef.
From Alexander Nasonov in PR pkg/39879.
Diffstat (limited to 'x11/xdm')
-rw-r--r--x11/xdm/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/x11/xdm/Makefile b/x11/xdm/Makefile
index 2dda12eae58..b616799fc34 100644
--- a/x11/xdm/Makefile
+++ b/x11/xdm/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2008/11/10 17:21:39 wiz Exp $
+# $NetBSD: Makefile,v 1.10 2009/10/25 12:15:54 tnn Exp $
DISTNAME= xdm-1.1.6
PKGREVISION= 2
@@ -53,6 +53,11 @@ CONFIGURE_ARGS+= --with-random-device=/dev/urandom
CONFIGURE_ARGS+= --with-default-vt=vt05
.endif
+.include "../../mk/compiler.mk"
+.if empty(PKGSRC_COMPILER:Mgcc)
+CONFIGURE_ENV+= ac_cv_path_RAWCPP="cc -E -Uunix -"
+.endif
+
.include "options.mk"
.include "../../x11/libXaw/buildlink3.mk"