From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Jun 23 11:10:04 2009 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B234B1065675 for ; Tue, 23 Jun 2009 11:10:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 8E61E8FC16 for ; Tue, 23 Jun 2009 11:10:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n5NBA4qq070402 for ; Tue, 23 Jun 2009 11:10:04 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n5NBA4R3070401; Tue, 23 Jun 2009 11:10:04 GMT (envelope-from gnats) Resent-Date: Tue, 23 Jun 2009 11:10:04 GMT Resent-Message-Id: <200906231110.n5NBA4R3070401@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, bf Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A241A1065670 for ; Tue, 23 Jun 2009 11:08:18 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 853DA8FC1B for ; Tue, 23 Jun 2009 11:08:18 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n5NB8Ig7039495 for ; Tue, 23 Jun 2009 11:08:18 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id n5NB8I1G039494; Tue, 23 Jun 2009 11:08:18 GMT (envelope-from nobody) Message-Id: <200906231108.n5NB8I1G039494@www.freebsd.org> Date: Tue, 23 Jun 2009 11:08:18 GMT From: bf To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/135956: [PATCH]math/glpk: update to 4.38 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Jun 2009 11:10:04 -0000 >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 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: