Date: Wed, 27 Apr 2016 14:25:54 -0600 (MDT) From: Gerald Pfeifer <gerald@pfeifer.com> To: John Marino <marino@freebsd.org> Cc: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: Re: svn commit: r413965 - head/lang/gcc7-devel Message-ID: <alpine.LSU.2.20.1604271421040.2761@anthias.pfeifer.com> In-Reply-To: <571DB23D.7000406@marino.st> References: <201604250447.u3P4l4L7099866@repo.freebsd.org> <571DB23D.7000406@marino.st>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.LSU.2.20.1604271421040.2761>