Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Aug 2016 14:04:01 +0000 (UTC)
From:      John Marino <marino@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r420678 - head/math/gmp
Message-ID:  <201608231404.u7NE41cT099740@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201608231404.u7NE41cT099740>