From owner-freebsd-ports@freebsd.org Mon Apr 10 19:11:58 2017 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 24F81D37891 for ; Mon, 10 Apr 2017 19:11:58 +0000 (UTC) (envelope-from rhurlin@gwdg.de) Received: from fmailer.gwdg.de (fmailer.gwdg.de [134.76.11.16]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E0BEC86B for ; Mon, 10 Apr 2017 19:11:57 +0000 (UTC) (envelope-from rhurlin@gwdg.de) Received: from um-excht-a02.um.gwdg.de ([134.76.11.222] helo=email.gwdg.de) by mailer.gwdg.de with esmtp (Exim 4.80) (envelope-from ) id 1cxeXY-0000KN-1T; Mon, 10 Apr 2017 20:59:52 +0200 Received: from krabat.raven.hur (79.210.204.176) by email.gwdg.de (134.76.9.211) with Microsoft SMTP Server (TLS) id 14.3.319.2; Mon, 10 Apr 2017 20:59:51 +0200 Subject: Re: building net/samba43 in poudriere with gcc494 To: Matthias Apitz References: <20170410120637.GA4795@c720-r314251> <3b231056-6056-7e19-16d5-1dc69e1e8fbd@citrin.ru> <20170410183233.GA1645@c720-r314251> CC: From: Rainer Hurling Message-ID: <5e4d42d1-1f21-9ce3-d314-086b7d2ecdd8@gwdg.de> Date: Mon, 10 Apr 2017 20:59:40 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.0 MIME-Version: 1.0 In-Reply-To: <20170410183233.GA1645@c720-r314251> Content-Type: text/plain; charset="utf-8" Content-Language: de-DE Content-Transfer-Encoding: 8bit X-Spam-Level: - X-Virus-Scanned: (clean) by clamav X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Apr 2017 19:11:58 -0000 Am 10.04.2017 um 20:32 schrieb Matthias Apitz: > El día lunes, abril 10, 2017 a las 12:11:47p. m. -0400, Anton Yuzhaninov escribió: > >> On 04/10/17 08:06, Matthias Apitz wrote: >>> >>> I was able to build net/samba34 with setting >>> >>> CC=gcc >>> CXX=g++ >>> >>> in /etc/make.conf on my r314251 with ports head from March, 4. >>> >>> How to is set CC=gcc only for the port net/samba34 in the make.conf >>> files used by poudriere, i.e. not for all the other ~1800 ports? >> >> Add >> >> .if ${.CURDIR:N*/ports/net/samba34} == "" >> USE_GCC=4.9 >> .endif >> >> to make.conf used by poudriere > > Thanks, but this does not work; it installs the gcc49 pkg in the jail, > but it sets the compiler to 'gcc49' which fails in the configure phase > of the port. > > matthias > I am using a file "jailname-portname-make.conf in /usr/local/etc/poudriere.d. The jailname is the one, you also use for the -j option of the poudriere run, the portname would be 'samba34'. In your case, this conf file should contain USE_GCC=5+ . HTH, Rainer Hurling