summaryrefslogtreecommitdiff
path: root/wm
diff options
context:
space:
mode:
authorjlam <jlam>2002-11-07 18:29:35 +0000
committerjlam <jlam>2002-11-07 18:29:35 +0000
commit375843aac65a56c6c5014d3ad68be95fce1c5cab (patch)
tree144241516709536889e33ec7134af7714ef3c9ac /wm
parent0005e7b5b46e00c5c36cc12f3bc1113ee2b934b6 (diff)
downloadpkgsrc-375843aac65a56c6c5014d3ad68be95fce1c5cab.tar.gz
Instead of "${CC} -E", which is ambiguous when cc can't deduce the
extension language, use "${CPP}" instead, which should point to the correct value to invoke the C preprocessor. Fixes pkg/18737 by Matthias Friedrich.
Diffstat (limited to 'wm')
-rw-r--r--wm/windowmaker/Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/wm/windowmaker/Makefile b/wm/windowmaker/Makefile
index 3dab85447d9..eaadd4e8dc4 100644
--- a/wm/windowmaker/Makefile
+++ b/wm/windowmaker/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.28 2002/11/06 23:25:38 jlam Exp $
+# $NetBSD: Makefile,v 1.29 2002/11/07 18:29:35 jlam Exp $
VERS= 0.80.1
DISTNAME= WindowMaker-${VERS}
@@ -23,8 +23,7 @@ GNU_CONFIGURE= YES
CONFIGURE_ARGS+= --enable-usermenu \
--with-nlsdir=${PREFIX}/${PKGLOCALEDIR}/locale
CONFIGURE_ENV+= LINGUAS=yes
-CONFIGURE_ENV+= CPP_PATH="${CPP_PATH}"
-CPP_PATH= ${CC} -E
+CONFIGURE_ENV+= CPP_PATH="${CPP}"
INSTALL_TARGET= install-strip