From owner-svn-ports-all@freebsd.org Sun Feb 5 03:30:09 2017 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 79510CD18FB; Sun, 5 Feb 2017 03:30:09 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 48E3F145A; Sun, 5 Feb 2017 03:30:09 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v153U8x7035522; Sun, 5 Feb 2017 03:30:08 GMT (envelope-from jbeich@FreeBSD.org) Received: (from jbeich@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v153U8xx035521; Sun, 5 Feb 2017 03:30:08 GMT (envelope-from jbeich@FreeBSD.org) Message-Id: <201702050330.v153U8xx035521@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: jbeich set sender to jbeich@FreeBSD.org using -f From: Jan Beich Date: Sun, 5 Feb 2017 03:30:08 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r433342 - head/lang/gcl X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Feb 2017 03:30:09 -0000 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"