1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-31 10:46:16 +00:00

o) Update to version 5.1.14

PR:		ports/61879
Submitted by:	AMAKAWA Shuhei <sa264@cam.ac.uk>
This commit is contained in:
Lars Koeller 2004-01-26 19:08:24 +00:00
parent 53e9cad581
commit 2932d35661
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=99211
3 changed files with 19 additions and 22 deletions

View File

@ -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)

View File

@ -1 +1 @@
MD5 (grace-5.1.13.tar.gz) = bc12e2bc373c7ecd6c8d51857a9858dc
MD5 (grace-5.1.14.tar.gz) = 040562dc70a186e11efba353e4d5d941

View File

@ -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