From owner-freebsd-x11@FreeBSD.ORG Sun Dec 9 11:14:43 2012 Return-Path: Delivered-To: x11@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8C52B226 for ; Sun, 9 Dec 2012 11:14:43 +0000 (UTC) (envelope-from phk@phk.freebsd.dk) Received: from phk.freebsd.dk (phk.freebsd.dk [130.225.244.222]) by mx1.freebsd.org (Postfix) with ESMTP id 4454C8FC08 for ; Sun, 9 Dec 2012 11:14:43 +0000 (UTC) Received: from critter.freebsd.dk (critter.freebsd.dk [192.168.61.3]) by phk.freebsd.dk (Postfix) with ESMTP id 1CC798A3FC for ; Sun, 9 Dec 2012 11:14:36 +0000 (UTC) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.14.5/8.14.5) with ESMTP id qB9BEZHD014288 for ; Sun, 9 Dec 2012 11:14:35 GMT (envelope-from phk@phk.freebsd.dk) To: x11@FreeBSD.org Subject: devel/imake cpp/clang/ucc issue From: Poul-Henning Kamp Content-Type: text/plain; charset=ISO-8859-1 Date: Sun, 09 Dec 2012 11:14:35 +0000 Message-ID: <14287.1355051675@critter.freebsd.dk> X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 Dec 2012 11:14:43 -0000 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.