aboutsummaryrefslogtreecommitdiffstats
path: root/math/glpk/Makefile
diff options
context:
space:
mode:
authordemon <demon@FreeBSD.org>2006-05-29 22:04:13 +0800
committerdemon <demon@FreeBSD.org>2006-05-29 22:04:13 +0800
commit5f23488f5de34ebfc7a3d1e8a149494ae6be373b (patch)
treef116f72e41ac9f2a5844fd26cadc3c8f27a5c1f8 /math/glpk/Makefile
parentbfb3958dc41bd5b152f57a3c7f5a7fe58594fbfb (diff)
downloadfreebsd-ports-gnome-5f23488f5de34ebfc7a3d1e8a149494ae6be373b.tar.gz
freebsd-ports-gnome-5f23488f5de34ebfc7a3d1e8a149494ae6be373b.tar.zst
freebsd-ports-gnome-5f23488f5de34ebfc7a3d1e8a149494ae6be373b.zip
Update to version 4.10.
Based on: PR: 93547 Submitted by: Pedro F. Giffuni <giffunip@asme.org>
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>