View | Details | Raw Unified | Return to bug 199853 | Differences between
and this patch

Collapse All | Expand All

(-)math/reduce/Makefile (-5 / +7 lines)
Lines 2-12 Link Here
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	reduce
4
PORTNAME=	reduce
5
PORTVERSION=	20110414
5
PORTVERSION=	20141130
6
PORTREVISION=	2
7
CATEGORIES=	math lang
6
CATEGORIES=	math lang
8
MASTER_SITES=	SF/${PORTNAME}-algebra/
7
MASTER_SITES=	SF/${PORTNAME}-algebra/Snapshot_2014-11-30/
9
DISTNAME=	${PORTNAME}-src-${PORTVERSION}
8
DISTNAME=	${PORTNAME}-src-2014-11-30
10
9
11
MAINTAINER=	pfg@FreeBSD.org
10
MAINTAINER=	pfg@FreeBSD.org
12
COMMENT=	Portable general-purpose computer algebra system (CSL version)
11
COMMENT=	Portable general-purpose computer algebra system (CSL version)
Lines 21-27 Link Here
21
USES=		gmake tar:bzip2
20
USES=		gmake tar:bzip2
22
USE_XORG=	xext x11 xft
21
USE_XORG=	xext x11 xft
23
22
24
WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
23
WRKSRC=		${WRKDIR}/${DISTNAME}
25
24
26
HAS_CONFIGURE=	yes
25
HAS_CONFIGURE=	yes
27
CONFIGURE_ARGS=	--with-csl
26
CONFIGURE_ARGS=	--with-csl
Lines 38-43 Link Here
38
.endif
37
.endif
39
REDUCECSL=	${WRKSRC}/cslbuild/${TARGET_SDIR}/csl
38
REDUCECSL=	${WRKSRC}/cslbuild/${TARGET_SDIR}/csl
40
39
40
CPPFLAGS+=	`freetype-config --cflags`
41
LDFLAGS+=	`freetype-config --libs`
42
41
do-install:
43
do-install:
42
	${MKDIR} ${STAGEDIR}${DATADIR}
44
	${MKDIR} ${STAGEDIR}${DATADIR}
43
	${INSTALL_PROGRAM} ${REDUCECSL}/reduce ${STAGEDIR}${DATADIR}
45
	${INSTALL_PROGRAM} ${REDUCECSL}/reduce ${STAGEDIR}${DATADIR}
(-)math/reduce/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (reduce-src-20110414.tar.bz2) = d6ac7a30e817ea71555d21b03a119a5236967b251eae8946a1817ae9a81cee03
1
SHA256 (reduce-src-2014-11-30.tar.bz2) = b15debc944475d4daee1bcbdbaff415693522306785507f2d3110d75df6e7006
2
SIZE (reduce-src-20110414.tar.bz2) = 136783974
2
SIZE (reduce-src-2014-11-30.tar.bz2) = 253343100
(-)math/reduce/files/patch-csl_cslbase_headers.h (-22 lines)
Lines 1-22 Link Here
1
Index: csl/cslbase/headers.h
2
===================================================================
3
--- csl/cslbase/headers.h	(revision 1603)
4
+++ csl/cslbase/headers.h	(working copy)
5
@@ -97,6 +97,17 @@
6
 #define PRIxPTR "llx"
7
 #endif
8
 
9
+/*
10
+ * This is necessary to for timeval in BSD systems.
11
+ */
12
+#if (defined(__unix__) || defined(unix)) && !defined(USG)
13
+#include <sys/param.h>
14
+#endif
15
+
16
+#if (defined(BSD) && (BSD >= 199103))
17
+#include <sys/time.h>
18
+#endif
19
+
20
 #ifndef UNDER_CE
21
 /*
22
  * The test for UNDER_CE is a little odd here, but when I once compiled a

Return to bug 199853