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)
This commit is contained in:
parent
5bbca49ae2
commit
207c64909a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=385182
3 changed files with 12 additions and 31 deletions
|
@ -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}
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
SHA256 (reduce-src-20110414.tar.bz2) = d6ac7a30e817ea71555d21b03a119a5236967b251eae8946a1817ae9a81cee03
|
||||
SIZE (reduce-src-20110414.tar.bz2) = 136783974
|
||||
SHA256 (reduce-src-2014-11-30.tar.bz2) = b15debc944475d4daee1bcbdbaff415693522306785507f2d3110d75df6e7006
|
||||
SIZE (reduce-src-2014-11-30.tar.bz2) = 253343100
|
||||
|
|
|
@ -1,22 +0,0 @@
|
|||
Index: csl/cslbase/headers.h
|
||||
===================================================================
|
||||
--- csl/cslbase/headers.h (revision 1603)
|
||||
+++ csl/cslbase/headers.h (working copy)
|
||||
@@ -97,6 +97,17 @@
|
||||
#define PRIxPTR "llx"
|
||||
#endif
|
||||
|
||||
+/*
|
||||
+ * This is necessary to for timeval in BSD systems.
|
||||
+ */
|
||||
+#if (defined(__unix__) || defined(unix)) && !defined(USG)
|
||||
+#include <sys/param.h>
|
||||
+#endif
|
||||
+
|
||||
+#if (defined(BSD) && (BSD >= 199103))
|
||||
+#include <sys/time.h>
|
||||
+#endif
|
||||
+
|
||||
#ifndef UNDER_CE
|
||||
/*
|
||||
* The test for UNDER_CE is a little odd here, but when I once compiled a
|
Loading…
Reference in a new issue