svn commit: r433342 - head/lang/gcl

Jan Beich jbeich at FreeBSD.org
Sun Feb 5 03:30:09 UTC 2017


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"


More information about the svn-ports-all mailing list