From 2932d3566175407e77bf1213a58f88d758c787ed Mon Sep 17 00:00:00 2001 From: Lars Koeller Date: Mon, 26 Jan 2004 19:08:24 +0000 Subject: o) Update to version 5.1.14 PR: ports/61879 Submitted by: AMAKAWA Shuhei --- math/grace/Makefile | 7 +++---- math/grace/distinfo | 2 +- math/grace/files/patch-ai | 32 +++++++++++++++----------------- 3 files changed, 19 insertions(+), 22 deletions(-) (limited to 'math/grace') 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 -+ # 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 ++# if __FreeBSD_version < 500100 ++extern int isnan ( double x ); ++# endif ++#endif ++#else + extern int isnan ( double x ); + #endif -- cgit v1.2.3