aboutsummaryrefslogtreecommitdiffstats
path: root/lang/gambit-c
diff options
context:
space:
mode:
authorolgeni <olgeni@FreeBSD.org>2015-05-06 04:22:08 +0800
committerolgeni <olgeni@FreeBSD.org>2015-05-06 04:22:08 +0800
commita3aa6e3d9f839af296506686297ca7fed0293981 (patch)
tree00ed34011f3cd9e52dc1e358b068c50596766aa9 /lang/gambit-c
parent877fb1aad56db1f694cc5e85a20a1212ab3ee9d8 (diff)
downloadfreebsd-ports-gnome-a3aa6e3d9f839af296506686297ca7fed0293981.tar.gz
freebsd-ports-gnome-a3aa6e3d9f839af296506686297ca7fed0293981.tar.zst
freebsd-ports-gnome-a3aa6e3d9f839af296506686297ca7fed0293981.zip
Upgrade to version 4.7.5 and take over maintainership from ports@.
There is something going on with optimizations on both the old and new versions. If you set USE_GCC=any the port will build way faster: gcc: make 506.90s user 17.86s system 228% cpu 3:49.41 total clang: make 3913.28s user 23.73s system 211% cpu 31:05.70 total I added a GCC option for now. Setting CFLAGS to -O0 will make clang go as fast as gcc. Explanation still unknown.
Diffstat (limited to 'lang/gambit-c')
-rw-r--r--lang/gambit-c/Makefile13
-rw-r--r--lang/gambit-c/distinfo4
2 files changed, 12 insertions, 5 deletions
diff --git a/lang/gambit-c/Makefile b/lang/gambit-c/Makefile
index 86b06366a7b3..c7330d7a7d46 100644
--- a/lang/gambit-c/Makefile
+++ b/lang/gambit-c/Makefile
@@ -2,13 +2,13 @@
# $FreeBSD$
PORTNAME= gambit-c
-DISTVERSION= v4_7_3
+DISTVERSION= v4_7_5
PORTEPOCH= 1
CATEGORIES= lang
MASTER_SITES= http://www.iro.umontreal.ca/~gambit/download/gambit/v4.7/source/
DISTNAME= gambc-${DISTVERSION}
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= olgeni@FreeBSD.org
COMMENT= Gambit programming system where the compiler generates portable C code
LICENSE= APACHE20 LGPL21
@@ -28,10 +28,17 @@ USE_LDCONFIG= ${PREFIX}/lib/gambit-c
INFO= gambit-c
-OPTIONS_DEFINE= DOCS
+OPTIONS_DEFINE= DOCS GCC
+OPTIONS_DEFAULT=GCC
+
+GCC_DESC= Build with GCC
.include <bsd.port.pre.mk>
+.if ${PORT_OPTIONS:MGCC}
+USE_GCC= any
+.endif
+
.if ${COMPILER_TYPE} == gcc
# This is needed because 4.2 < gcc -v < 4.4 has optimisations that make the
# build take more than 20Gb of virtual memory.
diff --git a/lang/gambit-c/distinfo b/lang/gambit-c/distinfo
index cf89a549fe73..a79e640c7ef3 100644
--- a/lang/gambit-c/distinfo
+++ b/lang/gambit-c/distinfo
@@ -1,2 +1,2 @@
-SHA256 (gambc-v4_7_3.tgz) = 59c4c62f2cfaf698b54a862e7af9c1b3e4cc27e46d386f31c66e00fed4701777
-SIZE (gambc-v4_7_3.tgz) = 11462024
+SHA256 (gambc-v4_7_5.tgz) = 5dee880b5ab8679c9aa72baaee8f84320692143c6a003379a458104f39c671b0
+SIZE (gambc-v4_7_5.tgz) = 13003656