1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-04 06:15:24 +00:00

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
This commit is contained in:
John Marino 2016-02-07 13:21:14 +00:00
parent 0855b9006d
commit bd6523c890
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=408406

View File

@ -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