aboutsummaryrefslogtreecommitdiff
path: root/math/grace
diff options
context:
space:
mode:
authorLars Koeller <lkoeller@FreeBSD.org>2004-01-26 19:08:24 +0000
committerLars Koeller <lkoeller@FreeBSD.org>2004-01-26 19:08:24 +0000
commit2932d3566175407e77bf1213a58f88d758c787ed (patch)
treee7294337a80726d75da7f4cdff8392ae81214978 /math/grace
parent53e9cad58194fed580956b71bb6949065c86e28f (diff)
downloadports-2932d3566175407e77bf1213a58f88d758c787ed.tar.gz
ports-2932d3566175407e77bf1213a58f88d758c787ed.zip
Notes
Diffstat (limited to 'math/grace')
-rw-r--r--math/grace/Makefile7
-rw-r--r--math/grace/distinfo2
-rw-r--r--math/grace/files/patch-ai32
3 files changed, 19 insertions, 22 deletions
diff --git a/math/grace/Makefile b/math/grace/Makefile
index ebd3cb4cfae2..74212e27def2 100644
--- a/math/grace/Makefile
+++ b/math/grace/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= grace
-PORTVERSION= 5.1.13
+PORTVERSION= 5.1.14
CATEGORIES= math print
#
# You never know when and why it is moved to ../src/old/ :-)
@@ -36,6 +36,7 @@ MAN1= convcal.1 grace.1 xmgrace.1 gracebat.1 grconvert.1
USE_X_PREFIX= YES
USE_GMAKE= YES
USE_MOTIF= YES
+USE_REINPLACE= YES
HAS_CONFIGURE= YES
CONFIGURE_ARGS= -prefix=${X11BASE} \
--with-extra-incpath=${X11BASE}/include/X11:${LOCALBASE}/include \
@@ -46,9 +47,7 @@ ALL_TARGET=
INSTALL_TARGET= install links
post-patch:
- ${CP} ${WRKSRC}/configure ${WRKSRC}/configure.input
- ${SED} "s%-lXm %${MOTIFLIB} %" ${WRKSRC}/configure.input > ${WRKSRC}/configure
- ${RM} -f ${WRKSRC}/configure.input
+ ${REINPLACE_CMD} -e "s%-lXm %${MOTIFLIB} %" ${WRKSRC}/configure
post-install:
.if !defined(NOPORTDOCS)
diff --git a/math/grace/distinfo b/math/grace/distinfo
index 693d664e39c2..137918d57425 100644
--- a/math/grace/distinfo
+++ b/math/grace/distinfo
@@ -1 +1 @@
-MD5 (grace-5.1.13.tar.gz) = bc12e2bc373c7ecd6c8d51857a9858dc
+MD5 (grace-5.1.14.tar.gz) = 040562dc70a186e11efba353e4d5d941
diff --git a/math/grace/files/patch-ai b/math/grace/files/patch-ai
index 8275b463a1fd..e564e1627c66 100644
--- a/math/grace/files/patch-ai
+++ b/math/grace/files/patch-ai
@@ -1,17 +1,15 @@
-*** cmath.h.org Thu Mar 27 13:57:30 2003
---- cmath.h Thu Mar 27 13:59:41 2003
-***************
-*** 170,174 ****
---- 170,181 ----
- #endif
-
- #ifndef HAVE_ISNAN_DECL
-+ #ifdef __FreeBSD__
-+ # include <sys/param.h>
-+ # if __FreeBSD_version < 500100
-+ extern int isnan ( double x );
-+ # endif
-+ #endif
-+ #else
- extern int isnan ( double x );
- #endif
+--- cmath.h.orig Fri Dec 12 21:33:45 2003
++++ cmath.h Thu Jan 22 22:22:45 2004
+@@ -175,5 +175,12 @@
+ #endif
+
+ #if !defined(HAVE_ISNAN_DECL) && !defined(HAVE_ISNAN_MACRO)
++#ifdef __FreeBSD__
++# include <sys/param.h>
++# if __FreeBSD_version < 500100
++extern int isnan ( double x );
++# endif
++#endif
++#else
+ extern int isnan ( double x );
+ #endif