summaryrefslogtreecommitdiff
path: root/math/reduce/Makefile
diff options
context:
space:
mode:
authorJohn Marino <marino@FreeBSD.org>2015-05-02 15:48:08 +0000
committerJohn Marino <marino@FreeBSD.org>2015-05-02 15:48:08 +0000
commit207c64909a15fd6dc7e1d4bb9ad8ece00e201bfc (patch)
treea28c286dd1ccf1cdeadbf06a06a41aca3fb90a75 /math/reduce/Makefile
parentUpdate to version 1.5.12. (diff)
math/reduce: upgrade version 20110414 => 20141130
This version can be built by system compilers (gcc 4.2 & clang) and also ports gcc compilers, unlike its predecessor which would segfault and even lock up during build. PR: 199832, 199853 Submitted by: pfg (maintainer)
Notes
Notes: svn path=/head/; revision=385182
Diffstat (limited to 'math/reduce/Makefile')
-rw-r--r--math/reduce/Makefile17
1 files changed, 10 insertions, 7 deletions
diff --git a/math/reduce/Makefile b/math/reduce/Makefile
index 364c7a2eb1cc..a46ff4b6aed0 100644
--- a/math/reduce/Makefile
+++ b/math/reduce/Makefile
@@ -2,11 +2,10 @@
# $FreeBSD$
PORTNAME= reduce
-PORTVERSION= 20110414
-PORTREVISION= 2
+PORTVERSION= 20141130
CATEGORIES= math lang
-MASTER_SITES= SF/${PORTNAME}-algebra/
-DISTNAME= ${PORTNAME}-src-${PORTVERSION}
+MASTER_SITES= SF/${PORTNAME}-algebra/Snapshot_2014-11-30/
+DISTNAME= ${PORTNAME}-src-2014-11-30
MAINTAINER= pfg@FreeBSD.org
COMMENT= Portable general-purpose computer algebra system (CSL version)
@@ -18,13 +17,14 @@ LIB_DEPENDS= libjpeg.so:${PORTSDIR}/graphics/jpeg \
libpng.so:${PORTSDIR}/graphics/png \
libtiff.so:${PORTSDIR}/graphics/tiff
-USES= gmake tar:bzip2
+USES= autoreconf:build gmake tar:bzip2
USE_XORG= xext x11 xft
-WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
+WRKSRC= ${WRKDIR}/${DISTNAME}
+# Avoid GNU_CONFIGURE because it breaks staging
HAS_CONFIGURE= yes
-CONFIGURE_ARGS= --with-csl
+CONFIGURE_ARGS+= --with-csl
ALL_TARGET=
MAKE_JOBS_UNSAFE= yes
@@ -38,6 +38,9 @@ TARGET_SDIR= ${ARCH}-unknown-${OPSYS:tl}${OSREL}
.endif
REDUCECSL= ${WRKSRC}/cslbuild/${TARGET_SDIR}/csl
+CPPFLAGS+= `freetype-config --cflags`
+LDFLAGS+= `freetype-config --libs`
+
do-install:
${MKDIR} ${STAGEDIR}${DATADIR}
${INSTALL_PROGRAM} ${REDUCECSL}/reduce ${STAGEDIR}${DATADIR}