From owner-svn-ports-all@FreeBSD.ORG Fri May 16 14:32:34 2014 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 4A6487AA; Fri, 16 May 2014 14:32:34 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::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 1D4C9254B; Fri, 16 May 2014 14:32:34 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s4GEWXZn073127; Fri, 16 May 2014 14:32:33 GMT (envelope-from marino@svn.freebsd.org) Received: (from marino@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s4GEWX7X073123; Fri, 16 May 2014 14:32:33 GMT (envelope-from marino@svn.freebsd.org) Message-Id: <201405161432.s4GEWX7X073123@svn.freebsd.org> From: John Marino Date: Fri, 16 May 2014 14:32:33 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r354231 - in head/devel/gnatpython: . files 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.18 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: Fri, 16 May 2014 14:32:34 -0000 Author: marino Date: Fri May 16 14:32:33 2014 New Revision: 354231 URL: http://svnweb.freebsd.org/changeset/ports/354231 QAT: https://qat.redports.org/buildarchive/r354231/ Log: devel/gnatpython: Correct build on FreeBSD 10+ GNATPython was hardcoded to use gcc and that caused the c-based rlimit utility to fail to build. Changing "gcc" to "cc" in the setup script solved the issue for clang-based systems. Added: head/devel/gnatpython/files/ head/devel/gnatpython/files/patch-setup__helpers.py (contents, props changed) Modified: head/devel/gnatpython/Makefile Modified: head/devel/gnatpython/Makefile ============================================================================== --- head/devel/gnatpython/Makefile Fri May 16 14:28:03 2014 (r354230) +++ head/devel/gnatpython/Makefile Fri May 16 14:32:33 2014 (r354231) @@ -3,6 +3,7 @@ PORTNAME= gnatpython PORTVERSION= ${SNAPSHOT} +PORTREVISION= 1 CATEGORIES= devel MASTER_SITES= http://downloads.dragonlace.net/src/ @@ -12,7 +13,7 @@ COMMENT= Python package used in Ada test LICENSE= GPLv3 SNAPSHOT= 20140205 -USE_BZIP2= yes +USES= tar:bzip2 USE_PYTHON= yes USE_PYDISTUTILS= yes Added: head/devel/gnatpython/files/patch-setup__helpers.py ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/gnatpython/files/patch-setup__helpers.py Fri May 16 14:32:33 2014 (r354231) @@ -0,0 +1,11 @@ +--- setup_helpers.py.orig 2014-02-14 10:41:26.000000000 +0000 ++++ setup_helpers.py +@@ -28,7 +28,7 @@ def build_scripts_gnatpython(root_dir='' + os.system('gcc -o %sscripts/rlimit %ssrc/rlimit/rlimit-NT.c' % + (root_dir, root_dir)) + else: +- os.system('gcc -o %sscripts/rlimit %ssrc/rlimit/rlimit.c' % ++ os.system('cc -o %sscripts/rlimit %ssrc/rlimit/rlimit.c' % + (root_dir, root_dir)) + + # Update the scripts list