math/gmp: use CONFIGURE_TARGET rather than recreating it

The --build configure argument is a re-invention of CONFIGURE_TARGET
except that platform is hardcoded to freebsd rather than the value
of OPSYS:tl.  Use CONFIGURE_TARGET instead.  It's a no-op for FreeBSD
but is a fix for DragonFly.

Approved by:	non-invasive DF support blanket
This commit is contained in:
John Marino 2016-08-23 14:04:01 +00:00
parent 5d1b9933a8
commit c0eeeb0ae9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=420678

View File

@ -29,7 +29,7 @@ INFO= gmp
.include <bsd.port.pre.mk>
.if ! ${PORT_OPTIONS:MCPU_OPTS}
CONFIGURE_ARGS+=--build=${ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS+=--build=${CONFIGURE_TARGET}
.elif ${ARCH:S/64//} != ${ARCH}
.if ${ARCH} == powerpc64
CONFIGURE_ENV+= ABI="mode64"