Date: Fri, 16 May 2014 14:32:33 +0000 (UTC) From: John Marino <marino@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r354231 - in head/devel/gnatpython: . files Message-ID: <201405161432.s4GEWX7X073123@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201405161432.s4GEWX7X073123>