Date: Tue, 25 Sep 2012 23:01:25 +0200 From: Oliver Pinter <oliver.pntr@gmail.com> To: current@freebsd.org, ports@freebsd.org Cc: x11@freebsd.org Subject: [PATCH] unbreak XDM build when clang set as base compiler Message-ID: <CAPjTQNF3jaNZrj_cKNveBZOKP8kVFbUGYkvo1i9Nvo91=HOzeA@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
Hi all!
This patch fixed the problem, when buildig xdm on a machine where
clang is the base the compiler (WITH_CLANG_IS_CC).
[-- Attachment #2 --]
diff --git a/x11/xdm/Makefile b/x11/xdm/Makefile
index 51dbe09..b416e86 100644
--- a/x11/xdm/Makefile
+++ b/x11/xdm/Makefile
@@ -28,6 +28,11 @@ OPTIONS= XDMSHELL "Install xdmshell" off
.include <bsd.port.options.mk>
+# XXX unbreak build with clang as CC
+BUILD_DEPENDS+= ucpp:${PORTSDIR}/devel/ucpp
+RUN_DEPENDS+= ucpp:${PORTSDIR}/devel/ucpp
+CONFIGURE_ENV+= ac_cv_path_RAWCPP="ucpp -s"
+
.if defined(WITH_XDMSHELL)
CONFIGURE_ARGS+=--enable-xdmshell
MAN1+= xdmshell.1
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAPjTQNF3jaNZrj_cKNveBZOKP8kVFbUGYkvo1i9Nvo91=HOzeA>
