Date: Sun, 25 Jan 2004 12:58:38 +0000 From: AMAKAWA Shuhei <sa264@cam.ac.uk> To: FreeBSD-gnats-submit@FreeBSD.org Cc: lkoeller@FreeBSD.org Subject: ports/61879: update math/grace to 5.1.14 Message-ID: <E1AkjqY-00096Z-Bz@m218-3.phy.cam.ac.uk> Resent-Message-ID: <200401251300.i0PD0Vv2071168@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 61879 >Category: ports >Synopsis: update math/grace to 5.1.14 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Sun Jan 25 05:00:30 PST 2004 >Closed-Date: >Last-Modified: >Originator: AMAKAWA Shuhei >Release: FreeBSD 4.9-STABLE i386 >Organization: >Environment: System: FreeBSD m218-3.phy.cam.ac.uk 4.9-STABLE FreeBSD 4.9-STABLE #0: Fri Nov 21 19:20:49 GMT 2003 sa264@m218-3.phy.cam.ac.uk:/usr/obj/usr/src/sys/KERNCONF i386 >Description: update math/grace to 5.1.14 >How-To-Repeat: >Fix: diff -uNr /usr/ports/math/grace/Makefile grace/Makefile --- /usr/ports/math/grace/Makefile Sun Nov 2 16:11:33 2003 +++ grace/Makefile Thu Jan 22 22:08:15 2004 @@ -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 @@ 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 @@ 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 -uNr /usr/ports/math/grace/distinfo grace/distinfo --- /usr/ports/math/grace/distinfo Sun Nov 2 16:11:33 2003 +++ grace/distinfo Thu Jan 22 22:08:42 2004 @@ -1 +1 @@ -MD5 (grace-5.1.13.tar.gz) = bc12e2bc373c7ecd6c8d51857a9858dc +MD5 (grace-5.1.14.tar.gz) = 040562dc70a186e11efba353e4d5d941 diff -uNr /usr/ports/math/grace/files/patch-ai grace/files/patch-ai --- /usr/ports/math/grace/files/patch-ai Thu Mar 27 13:19:24 2003 +++ grace/files/patch-ai Thu Jan 22 22:23:13 2004 @@ -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 >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1AkjqY-00096Z-Bz>