From owner-svn-ports-head@freebsd.org Wed Apr 27 20:34:08 2016 Return-Path: Delivered-To: svn-ports-head@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 16D6AB1EB0C; Wed, 27 Apr 2016 20:34:08 +0000 (UTC) (envelope-from gerald@pfeifer.com) Received: from ainaz.pair.com (ainaz.pair.com [209.68.2.66]) (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 EB70F1D6D; Wed, 27 Apr 2016 20:34:07 +0000 (UTC) (envelope-from gerald@pfeifer.com) Received: from [172.20.6.173] (unknown [12.235.85.130]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ainaz.pair.com (Postfix) with ESMTPSA id 26BE43F48C; Wed, 27 Apr 2016 16:25:56 -0400 (EDT) Date: Wed, 27 Apr 2016 14:25:54 -0600 (MDT) From: Gerald Pfeifer To: John Marino cc: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: Re: svn commit: r413965 - head/lang/gcc7-devel In-Reply-To: <571DB23D.7000406@marino.st> Message-ID: References: <201604250447.u3P4l4L7099866@repo.freebsd.org> <571DB23D.7000406@marino.st> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.21 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: Wed, 27 Apr 2016 20:34:08 -0000 On Mon, 25 Apr 2016, John Marino wrote: >> .if ${ARCH} == "amd64" >> CONFIGURE_TARGET= x86_64-portbld-${OPSYS:tl}${OSREL} >> -.else >> -CONFIGURE_TARGET= ${ARCH}-portbld-${OPSYS:tl}${OSREL} >> .endif > Perhaps replacing entire condition with > CONFIGURE_TARGET= ${ARCH:S/amd64/x86_64}-portbld-${OPSYS:tl}${OSREL} > is the cleanest approach. That technique is used in a lot of ports. Would it make sense for Mk/bsd.port.mk to simply use x86_64 when GNU_CONFIGURE is set (as opposed to a lot of ports doing this manually in various ways)? Gerald