diff options
-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 |