diff options
author | marino <marino@FreeBSD.org> | 2016-02-07 21:21:14 +0800 |
---|---|---|
committer | marino <marino@FreeBSD.org> | 2016-02-07 21:21:14 +0800 |
commit | c3ab98f6afdeef09b087b3ce1743ea63f504a9f3 (patch) | |
tree | e6f338925d6013cb0a912d89a647fbd12af824c7 | |
parent | 1b994deee5263429dc63b429909bb4de10a40e72 (diff) | |
download | freebsd-ports-gnome-c3ab98f6afdeef09b087b3ce1743ea63f504a9f3.tar.gz freebsd-ports-gnome-c3ab98f6afdeef09b087b3ce1743ea63f504a9f3.tar.zst freebsd-ports-gnome-c3ab98f6afdeef09b087b3ce1743ea63f504a9f3.zip |
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
-rw-r--r-- | math/reduce/Makefile | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/math/reduce/Makefile b/math/reduce/Makefile index 4d15dd02cc09..081bbc92cd27 100644 --- a/math/reduce/Makefile +++ b/math/reduce/Makefile @@ -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 |