summaryrefslogtreecommitdiff
path: root/math/glpk/Makefile
diff options
context:
space:
mode:
authorDmitry Sivachenko <demon@FreeBSD.org>2006-05-29 14:04:13 +0000
committerDmitry Sivachenko <demon@FreeBSD.org>2006-05-29 14:04:13 +0000
commitf146f1faaf02b60947e31a1ad39acce2d5b5ff9d (patch)
treeeb953ab79b23397cc48d64cc774ea6d94586a36d /math/glpk/Makefile
parentUpdate to versino 1.2.1 (diff)
Update to version 4.10.
Based on: PR: 93547 Submitted by: Pedro F. Giffuni <giffunip@asme.org>
Notes
Notes: svn path=/head/; revision=163849
Diffstat (limited to 'math/glpk/Makefile')
-rw-r--r--math/glpk/Makefile11
1 files changed, 9 insertions, 2 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>