Date: Sun, 13 Mar 2011 14:13:32 GMT From: Steve Wills <swills@FreeBSD.org> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/155529: [PATCH] update devel/libmatheval to 1.1.7 and make it build on everywhere Message-ID: <201103131413.p2DEDWbG060450@red.freebsd.org> Resent-Message-ID: <201103131420.p2DEKEP5014064@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 155529 >Category: ports >Synopsis: [PATCH] update devel/libmatheval to 1.1.7 and make it build on everywhere >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Mar 13 14:20:14 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Steve Wills >Release: 9-CURRENT >Organization: >Environment: FreeBSD meatwad.mouf.net 9.0-CURRENT FreeBSD 9.0-CURRENT #7: Fri Mar 11 21:51:22 EST 2011 root@meatwad.mouf.net:/usr/obj/usr/src/sys/MEATWAD amd64 >Description: Needed to have libmatheval work everywhere in order to work on PR ports/155482 so here it is. >How-To-Repeat: >Fix: Attached patch updates devel/libmatheval to 1.1.7 (latest version) and helps it build on 64bit platforms by adding dependency on flex from ports (since we don't ship a libfl_pic.a in base). Build tested on 7-STABLE, 8-STABLE and 9-CURRENT both i386 and amd64 each. PR ports/155482 depends on this. Patch attached with submission follows: Index: Makefile =================================================================== RCS file: /home/ncvs/ports/devel/libmatheval/Makefile,v retrieving revision 1.12 diff -u -r1.12 Makefile --- Makefile 22 Jan 2009 16:04:08 -0000 1.12 +++ Makefile 13 Mar 2011 00:35:23 -0000 @@ -6,8 +6,7 @@ # PORTNAME= libmatheval -PORTVERSION= 1.1.5 -PORTREVISION= 3 +PORTVERSION= 1.1.7 CATEGORIES= devel math MASTER_SITES= GNU MASTER_SITE_SUBDIR= ${PORTNAME} @@ -15,6 +14,7 @@ MAINTAINER= demon@FreeBSD.org COMMENT= A library of procedures for evaluating mathematical functions +BUILD_DEPENDS= flex>0:${PORTSDIR}/textproc/flex LIB_DEPENDS= guile.20:${PORTSDIR}/lang/guile GNU_CONFIGURE= yes @@ -28,12 +28,4 @@ post-patch: ${RM} ${WRKSRC}/doc/libmatheval.info -.include <bsd.port.pre.mk> - -.if ${OSVERSION} >= 700042 -.if ${ARCH} == "amd64" -BROKEN= Does not compile with GCC 4.2 -.endif -.endif - -.include <bsd.port.post.mk> +.include <bsd.port.mk> Index: distinfo =================================================================== RCS file: /home/ncvs/ports/devel/libmatheval/distinfo,v retrieving revision 1.4 diff -u -r1.4 distinfo --- distinfo 6 Mar 2008 16:11:14 -0000 1.4 +++ distinfo 12 Mar 2011 20:14:49 -0000 @@ -1,3 +1,2 @@ -MD5 (libmatheval-1.1.5.tar.gz) = 0534e1c5e4730fe60244bd3aa2d46ce2 -SHA256 (libmatheval-1.1.5.tar.gz) = a22a69052f5dbd7088e77b3c0b7189d1a5dc727a306f481e0c4a06c150155dc4 -SIZE (libmatheval-1.1.5.tar.gz) = 517211 +SHA256 (libmatheval-1.1.7.tar.gz) = b890167968c8fe0060e2210c0ba109534dfcd07c984c4ca3f186cd89c03c02a9 +SIZE (libmatheval-1.1.7.tar.gz) = 525887 Index: files/patch-lib-Makfile-in =================================================================== RCS file: files/patch-lib-Makfile-in diff -N files/patch-lib-Makfile-in --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ files/patch-lib-Makfile-in 13 Mar 2011 00:24:08 -0000 @@ -0,0 +1,11 @@ +--- lib/Makefile.in.orig 2011-03-12 19:23:35.972793044 -0500 ++++ lib/Makefile.in 2011-03-12 19:23:48.106791099 -0500 +@@ -226,7 +226,7 @@ + g77_interface.c node.c symbol_table.c xmalloc.c xmath.c + + libmatheval_la_LDFLAGS = -version-info 1:0:0 +-libmatheval_la_LIBADD = -lfl -lm ++libmatheval_la_LIBADD = -lfl_pic -lm + include_HEADERS = matheval.h + noinst_HEADERS = common.h error.h node.h symbol_table.h xmalloc.h \ + xmath.h >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201103131413.p2DEDWbG060450>