From owner-svn-ports-head@FreeBSD.ORG Tue Dec 25 03:49:42 2012 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 42D1E8F1; Tue, 25 Dec 2012 03:49:42 +0000 (UTC) (envelope-from jbeich@tormail.org) Received: from outgoing.tormail.org (outgoing.tormail.org [82.221.96.22]) by mx1.freebsd.org (Postfix) with ESMTP id E1FE08FC0A; Tue, 25 Dec 2012 03:49:41 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=internal.tormail.org) by outgoing.tormail.org with esmtp (Exim 4.72) (envelope-from ) id 1TnLWN-0007kc-IU; Tue, 25 Dec 2012 06:49:40 +0300 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tormail.org; s=tm; h=Message-Id:X-TorMail-User:Content-Type:MIME-Version:References:Date:In-Reply-To:Subject:Cc:To:From; bh=3kzm/eBou0PKWKiDyDrV960hgupfKyz0YKnxzBwxgow=; b=GnGDAfMTt81DWO0MuwqbAKYKlqPp0MPvs7rPauHFoMhq7ZMSuL+qS8nnl5pdrdgE0A+dejRxndl9Z/WO0BqJD89jqqwUi6htGeg55XaItGngjlcJPXotN6mzqCJOdtmmnNC8KGsEzSBsAkWgHdW7uMYpOohqrY8Z7Vf9FvdJ0PE=; Received: from jbeich by internal.tormail.org with local (Exim 4.63) (envelope-from ) id 1TnLUj-000DWe-DJ; Tue, 25 Dec 2012 03:47:58 +0000 From: Jan Beich To: Niclas Zeising Subject: Re: svn commit: r309459 - head/devel/gccmakedep In-Reply-To: <201212241325.qBODPXhN013126@svn.freebsd.org> (Niclas Zeising's message of "Mon, 24 Dec 2012 13:25:33 +0000 (UTC)") Date: Mon, 24 Dec 2012 20:47:54 -0700 References: <201212241325.qBODPXhN013126@svn.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain X-TorMail-User: jbeich Message-Id: <1TnLUj-000DWe-DJ@internal.tormail.org> Cc: svn-ports-head@freebsd.org, svn-ports-all@freebsd.org, ports-committers@freebsd.org X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Dec 2012 03:49:42 -0000 Niclas Zeising writes: > Author: zeising > Date: Mon Dec 24 13:25:33 2012 > New Revision: 309459 > URL: http://svnweb.freebsd.org/changeset/ports/309459 > > Log: > Attempt to fix build when clang is used. > Add depenency on ucpp and use that as cpp when clang is cc. [1] > While here, trim makefile headers. [2] > > Submitted by: kevlo [1], zeising [2] > Approved by: kwm, miwi (mentors, implicit) [...] > -.include > +.include > + > +.if defined(CC) && ${CC:T:M*clang*} == "clang" || ${OSVERSION} >= 1000024 > +BUILD_DEPENDS+= ucpp:${PORTSDIR}/devel/ucpp > +RUN_DEPENDS+= ucpp:${PORTSDIR}/devel/ucpp > +CONFIGURE_ENV+= ac_cv_path_RAWCPP="ucpp -s" > +.endif > + > +.include Leaving runtime broken? $ gccmakedep cc: error: no input files /usr/local/bin/gccmakedep: rm -f: not found usage: ln [-s [-F] | -L | -P] [-f | -i] [-hnv] source_file [target_file] ln [-s [-F] | -L | -P] [-f | -i] [-hnv] source_file ... target_dir link source_file target_file usage: mv [-f | -i | -n] [-hv] source target mv [-f | -i | -n] [-v] source ... directory /usr/local/bin/gccmakedep: mdep33211.tmp: not found Notice that devel/imake tries to clean up after ucpp: ${REINPLACE_CMD} -e 's|^configdirspec= *|configdirspec=|' ${WRKSRC}/xmkmf