aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--math/glpk/Makefile11
-rw-r--r--math/glpk/distinfo6
-rw-r--r--math/glpk/pkg-plist3
3 files changed, 15 insertions, 5 deletions
diff --git a/math/glpk/Makefile b/math/glpk/Makefile
index 3f5b000a5688..45dbebd1ac4b 100644
--- a/math/glpk/Makefile
+++ b/math/glpk/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= glpk
-PORTVERSION= 4.8
+PORTVERSION= 4.10
CATEGORIES= math
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= glpk
@@ -16,6 +16,7 @@ COMMENT= A GNU Linear Programming Kit
GNU_CONFIGURE= yes
USE_GMAKE= yes
+CFLAGS+= -trigraphs
DOCFILES= lang.ps refman.ps bench.txt GLPK_FAQ.txt
@@ -27,4 +28,10 @@ post-install:
done
.endif
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${ARCH} == "amd64"
+CFLAGS+= -fPIC
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/math/glpk/distinfo b/math/glpk/distinfo
index fc6133079435..63c3253df3ab 100644
--- a/math/glpk/distinfo
+++ b/math/glpk/distinfo
@@ -1,3 +1,3 @@
-MD5 (glpk-4.8.tar.gz) = ec4df7a56a4ed98369c9f0bc7c82322b
-SHA256 (glpk-4.8.tar.gz) = 20d4cacf2bc241161ef647cd4715db701e861eb8bdbe80ff4aa87bd188cbc0da
-SIZE (glpk-4.8.tar.gz) = 972875
+MD5 (glpk-4.10.tar.gz) = a1ae21f2ddf2f71aa1af9385ebfd7b74
+SHA256 (glpk-4.10.tar.gz) = 4ab1fe89b8da3cf81210bfdaa2c04bcc0a4a93beb372602d8a891309db743d86
+SIZE (glpk-4.10.tar.gz) = 1034733
diff --git a/math/glpk/pkg-plist b/math/glpk/pkg-plist
index d7b68e4ff158..273ba0bb5033 100644
--- a/math/glpk/pkg-plist
+++ b/math/glpk/pkg-plist
@@ -1,11 +1,14 @@
bin/glpsol
bin/tspsol
include/glpavl.h
+include/glpbfi.h
include/glpdmp.h
+include/glphbm.h
include/glpiet.h
include/glpinv.h
include/glpios.h
include/glpipm.h
+include/glpipp.h
include/glpk.h
include/glplib.h
include/glplpp.h