From a8026c051e64c7f7f365b55ad2722c03afce58ae Mon Sep 17 00:00:00 2001 From: jlam Date: Thu, 7 Nov 2002 18:29:35 +0000 Subject: 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. --- wm/windowmaker/Makefile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'wm') 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 -- cgit v1.2.3