Date: Sun, 09 Dec 2012 11:14:35 +0000 From: Poul-Henning Kamp <phk@phk.freebsd.dk> To: x11@FreeBSD.org Subject: devel/imake cpp/clang/ucc issue Message-ID: <14287.1355051675@critter.freebsd.dk>
next in thread | raw e-mail | index | archive | help
I'm installing my new laptop with -current, and ran into a ports problem
This code in ports/devel/imake/Makefile:
# clang's cpp destroys whitespace, particularly hard tabs in makefiles,
# which is fatal for imake.
.if defined(CC) && ${CC} == "clang"
BUILD_DEPENDS+= ucpp:${PORTSDIR}/devel/ucpp
RUN_DEPENDS+= ucpp:${PORTSDIR}/devel/ucpp
CONFIGURE_ENV+= ac_cv_path_RAWCPP="ucpp -s"
Fails, because clang is called "cc" now.
I'm not sure how to test if "cc" is CLANG og CPP, so I won't
propose a patch...
--
Poul-Henning Kamp | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG | TCP/IP since RFC 956
FreeBSD committer | BSD since 4.3-tahoe
Never attribute to malice what can adequately be explained by incompetence.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?14287.1355051675>
