diff options
author | jlam <jlam@pkgsrc.org> | 2002-11-07 18:29:35 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2002-11-07 18:29:35 +0000 |
commit | 67f78be19e250f0dba026d3f963ff1668fbf9ebb (patch) | |
tree | 144241516709536889e33ec7134af7714ef3c9ac | |
parent | 32ad9dabc80c0eb2e474665bfb6098e31fde177b (diff) | |
download | pkgsrc-67f78be19e250f0dba026d3f963ff1668fbf9ebb.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.
-rw-r--r-- | wm/windowmaker/Makefile | 5 |
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 |