svn commit: r420678 - head/math/gmp

John Marino marino at FreeBSD.org
Tue Aug 23 14:04:02 UTC 2016


Author: marino
Date: Tue Aug 23 14:04:01 2016
New Revision: 420678
URL: https://svnweb.freebsd.org/changeset/ports/420678

Log:
  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

Modified:
  head/math/gmp/Makefile

Modified: head/math/gmp/Makefile
==============================================================================
--- head/math/gmp/Makefile	Tue Aug 23 13:51:14 2016	(r420677)
+++ head/math/gmp/Makefile	Tue Aug 23 14:04:01 2016	(r420678)
@@ -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"


More information about the svn-ports-all mailing list