Date: Wed, 26 Sep 2012 00:37:30 +0200 From: Oliver Pinter <oliver.pntr@gmail.com> To: current@freebsd.org, ports@freebsd.org Cc: x11@freebsd.org Subject: [PATCH] unbreak imake build when clang set as base compiler Message-ID: <CAPjTQNEryho51L1D6RB4=Puq76sf_2tqSp_sMyuQj=XKpvzVQg@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
Hi all!
This patch fixed the problem, when buildig imake on a machine where
clang is the base the compiler (WITH_CLANG_IS_CC).
[-- Attachment #2 --]
diff --git a/devel/imake/Makefile b/devel/imake/Makefile
index 22ef025..2b1f511 100644
--- a/devel/imake/Makefile
+++ b/devel/imake/Makefile
@@ -43,13 +43,11 @@ post-patch:
# 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"
post-build:
${REINPLACE_CMD} -e 's|^configdirspec= *|configdirspec=|' ${WRKSRC}/xmkmf
-.endif
.include <bsd.port.post.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAPjTQNEryho51L1D6RB4=Puq76sf_2tqSp_sMyuQj=XKpvzVQg>
