Date: Tue, 23 Jun 2009 11:08:18 GMT From: bf <bf1783@gmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/135956: [PATCH]math/glpk: update to 4.38 Message-ID: <200906231108.n5NB8I1G039494@www.freebsd.org> Resent-Message-ID: <200906231110.n5NBA4R3070401@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 135956 >Category: ports >Synopsis: [PATCH]math/glpk: update to 4.38 >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: Tue Jun 23 11:10:04 UTC 2009 >Closed-Date: >Last-Modified: >Originator: bf >Release: 8-CURRENT amd64 >Organization: - >Environment: >Description: Yanked the low-level headers -- I suppose the people that use them know where to get them -- and consolidated a couple of conditionals. Shared library version bump again, so dependent ports may need adjustments. >How-To-Repeat: >Fix: Patch attached with submission follows: diff -ruN glpk.orig/Makefile glpk/Makefile --- glpk.orig/Makefile 2009-06-23 06:45:04.000000000 -0400 +++ glpk/Makefile 2009-06-23 06:51:43.000000000 -0400 @@ -6,8 +6,7 @@ # PORTNAME= glpk -PORTVERSION= 4.37 -PORTREVISION= 1 +PORTVERSION= 4.38 CATEGORIES= math MASTER_SITES= ${MASTER_SITE_GNU} MASTER_SITE_SUBDIR= glpk @@ -51,28 +50,25 @@ CONFIGURE_ARGS+= --disable-mysql .endif +post-patch: + @${REINPLACE_CMD} -e "s;\/usr\/include\/mysql;${LOCALBASE}\/include\/mysql;g" \ + ${WRKSRC}/configure + .if !defined(NOPORTDOCS) PORTDOCS= bench.txt bench1.txt bench2.txt glpk.pdf glpk_faq.txt gmpl.pdf \ opb.txt tables.pdf dfeas.djvu gomory.djvu scaling.djvu \ subset.djvu updating.djvu -.endif - -post-patch: - @${REINPLACE_CMD} -e "s;\/usr\/include\/mysql;${LOCALBASE}\/include\/mysql;g" \ - ${WRKSRC}/configure post-install: - @${INSTALL_DATA} ${WRKSRC}/include/*.h ${PREFIX}/include/ - -.if !defined(NOPORTDOCS) @${CP} ${WRKSRC}/doc/notes/*.djvu ${WRKSRC}/doc/ @${MKDIR} ${DOCSDIR} for docfile in ${PORTDOCS} ; do \ ${INSTALL_MAN} ${WRKSRC}/doc/$${docfile} ${DOCSDIR} ; \ done + .endif regression-test: build - @(cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_ARGS} check) + @(cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_ARGS} check) .include <bsd.port.post.mk> diff -ruN glpk.orig/distinfo glpk/distinfo --- glpk.orig/distinfo 2009-06-23 06:45:04.000000000 -0400 +++ glpk/distinfo 2009-06-23 06:15:14.000000000 -0400 @@ -1,3 +1,3 @@ -MD5 (glpk-4.37.tar.gz) = e88e0d36681566eeb333dde0be57224e -SHA256 (glpk-4.37.tar.gz) = dd4a0547d8a7ae04b510a5a6fc1a572d33531a646df41750958b71125afcb8c2 -SIZE (glpk-4.37.tar.gz) = 2260610 +MD5 (glpk-4.38.tar.gz) = 83d4b345800b3f30e4ef570216f94fbe +SHA256 (glpk-4.38.tar.gz) = cb6c19a2db6e6af6bc32c2f80723da2b1cd862bfef5f65d0d932189c15e7bd1d +SIZE (glpk-4.38.tar.gz) = 2379308 diff -ruN glpk.orig/pkg-plist glpk/pkg-plist --- glpk.orig/pkg-plist 2009-06-23 06:45:04.000000000 -0400 +++ glpk/pkg-plist 2009-06-23 06:33:19.000000000 -0400 @@ -1,40 +1,6 @@ bin/glpsol -include/glpapi.h -include/glpavl.h -include/glpbfd.h -include/glpbfx.h -include/glpcpx.h -include/glpdmp.h -include/glpfhv.h -include/glpgmp.h -include/glphbm.h -include/glpini.h -include/glpios.h -include/glpipm.h -include/glpipp.h include/glpk.h -include/glplib.h -include/glplpf.h -include/glplpp.h -include/glpluf.h -include/glplux.h -include/glpmat.h -include/glpmpl.h -include/glpmps.h -include/glpnet.h -include/glpqmd.h -include/glprgr.h -include/glprng.h -include/glpscf.h -include/glpscg.h -include/glpscl.h -include/glpspm.h -include/glpspx.h -include/glpsql.h -include/glpssx.h -include/glpstd.h -include/glptsp.h lib/libglpk.a lib/libglpk.la lib/libglpk.so -lib/libglpk.so.22 +lib/libglpk.so.23 >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200906231108.n5NB8I1G039494>