From owner-freebsd-ports@freebsd.org Fri Oct 2 01:29:20 2015 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E614CA0E901; Fri, 2 Oct 2015 01:29:20 +0000 (UTC) (envelope-from michelle@sorbs.net) Received: from hades.sorbs.net (mail.sorbs.net [67.231.146.200]) by mx1.freebsd.org (Postfix) with ESMTP id D35051196; Fri, 2 Oct 2015 01:29:20 +0000 (UTC) (envelope-from michelle@sorbs.net) MIME-version: 1.0 Content-transfer-encoding: 8BIT Content-type: text/plain; charset=UTF-8 Received: from isux.com (firewall.isux.com [213.165.190.213]) by hades.sorbs.net (Oracle Communications Messaging Server 7.0.5.29.0 64bit (built Jul 9 2013)) with ESMTPSA id <0NVK00C29HN7R200@hades.sorbs.net>; Thu, 01 Oct 2015 17:35:33 -0700 (PDT) Message-id: <560DCFD7.30509@sorbs.net> Date: Fri, 02 Oct 2015 02:29:11 +0200 From: Michelle Sullivan User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.8.1.24) Gecko/20100301 SeaMonkey/1.1.19 To: =?UTF-8?B?Sm9zw6kgUMOpcmV6?= Cc: freebsd-ports@freebsd.org, freebsd-arm@freebsd.org Subject: Re: Uses/compiler.mk does not trigger under RBPi References: In-reply-to: X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Oct 2015 01:29:21 -0000 José Pérez wrote: > Hi, > I've notice that Uses/compiler.mk is not triggered and as a > consequence does to set COMPILER_TYPE. > > me@raspberry-pi:~ % cat Makefile > all: > @${ECHO_CMD} ${LOCALBASE} > @${ECHO_CMD} ${COMPILER_TYPE} > .include > me@raspberry-pi:~ % make > /usr/local > > me@raspberry-pi:~ % > > As a result building ports is a nightmare. > > Note how in AMD64 it works: > me@amd64:~ % make > /usr/local > clang > me@amd64:~ % > > As a workaround I set COMPILER_TYPE=clang in /etc/make.conf but this > is just an ugly hack. > > Can some expert trow a little light on this? Thank you. > > Regards, > Try adding: USES+= compiler to the makefile first... (and it still has some issues but that should solve the first) -- Michelle Sullivan http://www.mhix.org/