Bug 119662 - [PATCH]math/glpk: update to 4.25
Summary: [PATCH]math/glpk: update to 4.25
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Dmitry Sivachenko
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-01-14 16:10 UTC by bf
Modified: 2008-02-08 15:10 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description bf 2008-01-14 16:10:00 UTC
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
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2008-01-14 16:10:09 UTC
Responsible Changed
From-To: freebsd-ports-bugs->demon

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer freebsd_triage 2008-02-08 15:07:35 UTC
demon       2008-02-08 15:07:23 UTC

  FreeBSD ports repository

  Modified files:
    math/glpk            Makefile distinfo pkg-plist 
  Log:
  Update to 4.25.
  Install more headers.
  
  PR:             119662
  Submitted by:   bf <bf2006a@yahoo.com>
  
  Revision  Changes    Path
  1.27      +8 -11     ports/math/glpk/Makefile
  1.24      +3 -3      ports/math/glpk/distinfo
  1.22      +28 -8     ports/math/glpk/pkg-plist
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 3 Dmitry Sivachenko freebsd_committer freebsd_triage 2008-02-08 15:07:55 UTC
State Changed
From-To: open->closed

Port updated, thanks!