Date: Mon, 26 Nov 2012 18:09:00 +0800 From: Kevin Lo <kevlo@FreeBSD.org> To: freebsd-x11@FreeBSD.org Subject: [PATCH] devel/imake: fix build with clang Message-ID: <50B33FBC.40306@FreeBSD.org>
next in thread | raw e-mail | index | archive | help
Here's the trivial patch that fixes build with clang. Ok? Index: devel/imake/Makefile =================================================================== --- devel/imake/Makefile (revision 307768) +++ devel/imake/Makefile (working copy) @@ -43,7 +43,7 @@ post-patch: # clang's cpp destroys whitespace, particularly hard tabs in makefiles, # which is fatal for imake. -.if defined(CC) && ${CC} == "clang" +.if ${OSVERSION} >= 1000024 || (${OSVERSION} < 1000024 && ${CC} == "clang") BUILD_DEPENDS+= ucpp:${PORTSDIR}/devel/ucpp RUN_DEPENDS+= ucpp:${PORTSDIR}/devel/ucpp CONFIGURE_ENV+= ac_cv_path_RAWCPP="ucpp -s"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?50B33FBC.40306>