Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 5 Feb 2017 03:30:08 +0000 (UTC)
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r433342 - head/lang/gcl
Message-ID:  <201702050330.v153U8xx035521@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jbeich
Date: Sun Feb  5 03:30:08 2017
New Revision: 433342
URL: https://svnweb.freebsd.org/changeset/ports/433342

Log:
  lang/gcl: use clang and unbreak with gcc5 or later
  
  ./libpre_gcl.a(num_sfun.o): In function `number_expt':
  num_sfun.c:(.text+0x3d78): undefined reference to `number_fix_iexpt'
  num_sfun.c:(.text+0x4c62): undefined reference to `number_big_iexpt'
  [...]
  ./libpre_gcl.a(alloc.o): In function `alloc_object':
  alloc.c:(.text+0x6c07): undefined reference to `alloc_after_turning_off_sgc'
  alloc.c:(.text+0x76f1): undefined reference to `maybe_reallocate_page'
  [...]
  
  PR:		216707
  Reported by:	antoine (via exp-run)

Modified:
  head/lang/gcl/Makefile   (contents, props changed)

Modified: head/lang/gcl/Makefile
==============================================================================
--- head/lang/gcl/Makefile	Sun Feb  5 00:58:20 2017	(r433341)
+++ head/lang/gcl/Makefile	Sun Feb  5 03:30:08 2017	(r433342)
@@ -3,7 +3,7 @@
 
 PORTNAME=	gcl
 PORTVERSION=	2.6.12
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	lang tcl tk
 MASTER_SITES=	GNU
 
@@ -19,7 +19,7 @@ LIB_DEPENDS=	libgmp.so:math/gmp
 WRKSRC=		${WRKDIR}/${PORTNAME}
 
 USES=		gmake readline
-USE_GCC=	yes
+USE_CSTD=	gnu89
 GNU_CONFIGURE=	yes
 CONFIGURE_ENV=	ac_cv_prog_AWK="${LOCALBASE}/bin/gawk" \
 		C_INCLUDE_PATH="${PREFIX}/include" LIBRARY_PATH="${PREFIX}/lib"



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