diff options
author | lkoeller <lkoeller@FreeBSD.org> | 2004-01-26 19:08:24 +0000 |
---|---|---|
committer | lkoeller <lkoeller@FreeBSD.org> | 2004-01-26 19:08:24 +0000 |
commit | fa8500782bbdb7dd16e54c2599019741870d90f2 (patch) | |
tree | b803c09cda8007dc32b99047f8d2d3d67cd15c58 /math | |
parent | 19d8908cc58c81e82b34fb293223c8a6f1d6cbf8 (diff) | |
download | FreeBSD-ports-fa8500782bbdb7dd16e54c2599019741870d90f2.zip FreeBSD-ports-fa8500782bbdb7dd16e54c2599019741870d90f2.tar.gz |
o) Update to version 5.1.14
PR: ports/61879
Submitted by: AMAKAWA Shuhei <sa264@cam.ac.uk>
Diffstat (limited to 'math')
-rw-r--r-- | math/grace/Makefile | 7 | ||||
-rw-r--r-- | math/grace/distinfo | 2 | ||||
-rw-r--r-- | math/grace/files/patch-ai | 32 |
3 files changed, 19 insertions, 22 deletions
diff --git a/math/grace/Makefile b/math/grace/Makefile index ebd3cb4..74212e2 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 693d664..137918d 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 8275b46..e564e16 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 |