Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Jul 2008 05:54:23 GMT
From:      bf <bf2006a@yahoo.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/125395: [PATCH]math/glpk: update to 4.29
Message-ID:  <200807080554.m685sNN4054625@www.freebsd.org>
Resent-Message-ID: <200807080600.m68602YP080005@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         125395
>Category:       ports
>Synopsis:       [PATCH]math/glpk: update to 4.29
>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 Jul 08 06:00:02 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     bf
>Release:        7-STABLE i386
>Organization:
-
>Environment:
>Description:
       "* GLPK 4.29 (14:0:14) has been released

        * configure.ac
        The configure script was changed to disable optional features
        by default. For details see file INSTALL.

        * glpipp02.c
        A bug was fixed in the internal routine reduce_bounds. Thanks
        to Anne-Laurence Putz <anne-laurence.putz@eurodecision.com> for
        the bug report.

        * glpapi01.c
        New API routine glp_erase_prob was added.

        * glpapi13.c
        New API routines glp_read_mps and glp_write_mps were added.
        They replace API routines lpx_read_mps, lpx_read_freemps,
        lpx_write_mps, and lpx_write_freemps, which are deprecated.

        * glpapi14.c
        New API routines glp_read_lp and glp_write_lp were added. They
        replace API routines lpx_read_cpxlp and lpx_write_cpxlp, which
        are deprecated.

        * glpsql.c
        Minor bug was fixed. Thanks to Xypron <xypron.glpk@gmx.de> for
        the bug report."
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff -ruN glpk.orig/Makefile glpk/Makefile
--- glpk.orig/Makefile	2008-05-19 11:28:27.000000000 -0400
+++ glpk/Makefile	2008-07-08 01:44:26.045049914 -0400
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	glpk
-PORTVERSION=	4.28
+PORTVERSION=	4.29
 CATEGORIES=	math
 MASTER_SITES=	${MASTER_SITE_GNU}
 MASTER_SITE_SUBDIR=	glpk
@@ -25,7 +25,8 @@
 CFLAGS+=	-trigraphs
 CPPFLAGS+=	-I${LOCALBASE}/include
 LDFLAGS+=	-L${LOCALBASE}/lib
-CONFIGURE_ENV=	CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
+CONFIGURE_ENV+=	CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
+CONFIGURE_ARGS+=	--with-gmp --with-zlib
 
 .include <bsd.port.pre.mk>
 
@@ -51,7 +52,7 @@
 
 .if !defined(NOPORTDOCS)
 PORTDOCS=	bench.txt bench1.txt glpk.ps glpk_faq.txt gmpl.ps \
-		gomory.djvu opb.txt tables.txt
+		gomory.djvu opb.txt tables.txt updating.djvu
 .endif
 
 post-patch:
@@ -63,10 +64,14 @@
 
 .if !defined(NOPORTDOCS)
 	@${CP} ${WRKSRC}/doc/memo/gomory.djvu ${WRKSRC}/doc/
+	@${CP} ${WRKSRC}/doc/memo/updating.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} check )
+
 .include <bsd.port.post.mk>
diff -ruN glpk.orig/distinfo glpk/distinfo
--- glpk.orig/distinfo	2008-05-19 11:28:27.000000000 -0400
+++ glpk/distinfo	2008-07-08 01:41:03.209442036 -0400
@@ -1,3 +1,3 @@
-MD5 (glpk-4.28.tar.gz) = 6e4f30c37fb189aec6c71b27f0a57449
-SHA256 (glpk-4.28.tar.gz) = 8faeb202e58a3a9f6a6a8b0e8ae557bcc30f712060b4871a530f070c14939fd8
-SIZE (glpk-4.28.tar.gz) = 1546104
+MD5 (glpk-4.29.tar.gz) = 1e2d341619162499bbdebc96ca1d99a4
+SHA256 (glpk-4.29.tar.gz) = 41f458ef830b8b4df730ff789fcb612bd9ad274c29fb8665a7039dba0865102c
+SIZE (glpk-4.29.tar.gz) = 1557255
diff -ruN glpk.orig/pkg-plist glpk/pkg-plist
--- glpk.orig/pkg-plist	2008-05-19 11:28:27.000000000 -0400
+++ glpk/pkg-plist	2008-07-08 01:41:03.209442036 -0400
@@ -34,4 +34,4 @@
 lib/libglpk.a
 lib/libglpk.la
 lib/libglpk.so
-lib/libglpk.so.13
+lib/libglpk.so.14


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200807080554.m685sNN4054625>