Date: Mon, 14 Jan 2008 16:07:39 GMT From: bf <bf2006a@yahoo.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/119662: [PATCH]math/glpk: update to 4.25 Message-ID: <200801141607.m0EG7dhC020011@www.freebsd.org> Resent-Message-ID: <200801141610.m0EGA1Gg065524@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 119662 >Category: ports >Synopsis: [PATCH]math/glpk: update to 4.25 >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: Mon Jan 14 16:10:00 UTC 2008 >Closed-Date: >Last-Modified: >Originator: bf >Release: 7.0RC1 i386 >Organization: -- >Environment: >Description: update, install some headers for those wishing to work with low-level stuff (puts gmpl-related headers in previous Makefile back into PREFIX/include with the rest of the glpk headers): diff -ruN glpk.orig/Makefile glpk/Makefile --- glpk.orig/Makefile 2008-01-14 06:53:07.358278621 -0500 +++ glpk/Makefile 2008-01-14 09:16:55.147691800 -0500 @@ -6,7 +6,7 @@ # PORTNAME= glpk -PORTVERSION= 4.24 +PORTVERSION= 4.25 CATEGORIES= math MASTER_SITES= ${MASTER_SITE_GNU} MASTER_SITE_SUBDIR= glpk @@ -17,27 +17,24 @@ LIB_DEPENDS= gmp:${PORTSDIR}/math/libgmp4 GNU_CONFIGURE= yes -CONFIGURE_ENV= CPPFLAGS="${CXXFLAGS} -I${LOCALBASE}/include" \ - LDFLAGS="-L${LOCALBASE}/lib" +CFLAGS+= -trigraphs +CPPFLAGS?= -I${LOCALBASE}/include +LDFLAGS+= -L${LOCALBASE}/lib +CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}" \ + LDFLAGS="${LDFLAGS}" USE_GMAKE= yes USE_LDCONFIG= yes -CFLAGS+= -trigraphs - -GMPL_H= glpavl.h glpdmp.h glplib.h glpmpl.h glprng.h glpstd.h -GMPLDIR= ${LOCALBASE}/include/gmpl .if !defined(NOPORTDOCS) -PORTDOCS= bench.txt bench1.txt glpk.ps glpk_faq.txt gmpl.ps opb.txt +PORTDOCS= bench.txt bench1.txt glpk.ps glpk_faq.txt gmpl.ps gomory.djvu opb.txt .endif post-install: - @${MKDIR} ${GMPLDIR} - for incfile in ${GMPL_H} ; do \ - ${INSTALL_DATA} ${WRKSRC}/include/$${incfile} ${GMPLDIR} ; \ - done + ${INSTALL_DATA} ${WRKSRC}/include/*.h ${PREFIX}/include/ ; \ .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} + @${CP} ${WRKSRC}/doc/memo/gomory.djvu ${WRKSRC}/doc/ for docfile in ${PORTDOCS} ; do \ ${INSTALL_MAN} ${WRKSRC}/doc/$${docfile} ${DOCSDIR} ; \ done diff -ruN glpk.orig/distinfo glpk/distinfo --- glpk.orig/distinfo 2008-01-14 06:53:07.358278621 -0500 +++ glpk/distinfo 2008-01-14 08:10:25.959052741 -0500 @@ -1,3 +1,3 @@ -MD5 (glpk-4.24.tar.gz) = 765dcecc20dc6b80362e65c755f41976 -SHA256 (glpk-4.24.tar.gz) = 23326c9dd21762159b6fa946e41e0e95d233c6e9f9a69134ef10e3541cd516c9 -SIZE (glpk-4.24.tar.gz) = 1449575 +MD5 (glpk-4.25.tar.gz) = 3bd85385acb1123a2b62420af45bcc39 +SHA256 (glpk-4.25.tar.gz) = a178a5ac51d4f344090bd71782f229c7cf69ba86f185c494f57a61d6f2948841 +SIZE (glpk-4.25.tar.gz) = 1487597 diff -ruN glpk.orig/pkg-plist glpk/pkg-plist --- glpk.orig/pkg-plist 2008-01-14 06:53:07.360278875 -0500 +++ glpk/pkg-plist 2008-01-14 08:10:25.958052893 -0500 @@ -1,13 +1,33 @@ bin/glpsol +include/glpapi.h +include/glpavl.h +include/glpbfd.h +include/glpbfx.h +include/glpdmp.h +include/glpfhv.h +include/glpgmp.h +include/glphbm.h +include/glpios.h +include/glpipm.h +include/glpipp.h include/glpk.h -include/gmpl/glpavl.h -include/gmpl/glpdmp.h -include/gmpl/glplib.h -include/gmpl/glpmpl.h -include/gmpl/glprng.h -include/gmpl/glpstd.h -@dirrm include/gmpl +include/glplib.h +include/glplpf.h +include/glplpp.h +include/glpluf.h +include/glplux.h +include/glpmat.h +include/glpmpl.h +include/glppds.h +include/glpqmd.h +include/glprng.h +include/glpscf.h +include/glpscg.h +include/glpspx.h +include/glpssx.h +include/glpstd.h +include/glptsp.h lib/libglpk.a lib/libglpk.la lib/libglpk.so -lib/libglpk.so.9 +lib/libglpk.so.10 >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200801141607.m0EG7dhC020011>