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
commita8026c051e64c7f7f365b55ad2722c03afce58ae (patch)
tree144241516709536889e33ec7134af7714ef3c9ac /wm
parent8261bdef19f85ba357902e00ec7b1fbd22fcf654 (diff)
downloadpkgsrc-a8026c051e64c7f7f365b55ad2722c03afce58ae.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