Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 7 Feb 2016 13:21:14 +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: r408406 - head/math/reduce
Message-ID:  <201602071321.u17DLEQ6071087@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: marino
Date: Sun Feb  7 13:21:14 2016
New Revision: 408406
URL: https://svnweb.freebsd.org/changeset/ports/408406

Log:
  math/reduce: document ncurses requirement (USES+=ncurses)
  
  while here:
    * simplify TARGET_SDIR so inclusion not required
    * add --build configure argument (from dports, no effect on fbsd)
  
  approved by:	infrastructure blanket

Modified:
  head/math/reduce/Makefile

Modified: head/math/reduce/Makefile
==============================================================================
--- head/math/reduce/Makefile	Sun Feb  7 13:18:31 2016	(r408405)
+++ head/math/reduce/Makefile	Sun Feb  7 13:21:14 2016	(r408406)
@@ -14,8 +14,9 @@ LICENSE=	BSD2CLAUSE
 
 RUN_DEPENDS=	gnuplot:${PORTSDIR}/math/gnuplot
 
-USES=		autoreconf:build gmake tar:bzip2
-
+USES=		autoreconf:build gmake ncurses tar:bzip2
+TARGET_SDIR=	${ARCH:S/amd64/x86_64/}-unknown-${OPSYS:tl}${OSREL}
+CONFIGURE_ARGS=	--build=${TARGET_SDIR}
 WRKSRC=		${WRKDIR}/${DISTNAME}
 
 # Avoid GNU_CONFIGURE as it breaks staging
@@ -47,12 +48,6 @@ LDFLAGS+=	`freetype-config --libs`
 ONLY_FOR_ARCHS= amd64
 .endif
 
-.if ${ARCH} == "amd64"
-TARGET_SDIR=	x86_64-unknown-${OPSYS:tl}${OSREL}
-.else
-TARGET_SDIR=	${ARCH}-unknown-${OPSYS:tl}${OSREL}
-.endif
-
 .if ${PORT_OPTIONS:MCSL}
 REDUCE_BINS=	${WRKSRC}/cslbuild/${TARGET_SDIR}
 .else



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