svn commit: r408406 - head/math/reduce
John Marino
marino at FreeBSD.org
Sun Feb 7 13:21:15 UTC 2016
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
More information about the svn-ports-all
mailing list