Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 May 2015 20:22:09 +0000 (UTC)
From:      Jimmy Olgeni <olgeni@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r385487 - head/lang/gambit-c
Message-ID:  <201505052022.t45KM9Nr091783@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: olgeni
Date: Tue May  5 20:22:08 2015
New Revision: 385487
URL: https://svnweb.freebsd.org/changeset/ports/385487

Log:
  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.

Modified:
  head/lang/gambit-c/Makefile
  head/lang/gambit-c/distinfo   (contents, props changed)

Modified: head/lang/gambit-c/Makefile
==============================================================================
--- head/lang/gambit-c/Makefile	Tue May  5 19:44:44 2015	(r385486)
+++ head/lang/gambit-c/Makefile	Tue May  5 20:22:08 2015	(r385487)
@@ -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.

Modified: head/lang/gambit-c/distinfo
==============================================================================
--- head/lang/gambit-c/distinfo	Tue May  5 19:44:44 2015	(r385486)
+++ head/lang/gambit-c/distinfo	Tue May  5 20:22:08 2015	(r385487)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201505052022.t45KM9Nr091783>