Date: Mon, 28 Jul 2014 22:58: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: r363270 - in head/lang/rust: . files Message-ID: <201407282258.s6SMwX9k060387@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: marino Date: Mon Jul 28 22:58:33 2014 New Revision: 363270 URL: http://svnweb.freebsd.org/changeset/ports/363270 QAT: https://qat.redports.org/buildarchive/r363270/ Log: lang/rust: Fix link issue and build failure [1] Linking fails with missing reference to __morestack symbol [2] gpy fails with error about missing sem implementation PR: 189357 [1] PR: 191927 [2] Submitted by: bertrand.augereau (gmail) [1] Submitted by: maintainer: mitsuruike (gmail) [2] Added: head/lang/rust/files/patch-src__libuv__gyp_uv.py (contents, props changed) Modified: head/lang/rust/Makefile Modified: head/lang/rust/Makefile ============================================================================== --- head/lang/rust/Makefile Mon Jul 28 22:53:10 2014 (r363269) +++ head/lang/rust/Makefile Mon Jul 28 22:58:33 2014 (r363270) @@ -3,6 +3,7 @@ PORTNAME= rust PORTVERSION= 0.11.0 +PORTREVISION= 1 CATEGORIES= lang MASTER_SITES= http://static.rust-lang.org/dist/:src \ http://static.rust-lang.org/stage0-snapshots/:bootstrap @@ -59,5 +60,7 @@ post-install: @${RM} ${STAGEDIR}${PREFIX}/lib/rustlib/manifest @${STRIP_CMD} `${GREP} -v -e '^@dirrm' -e '^man' -e 'rlib$$' \ ${PLIST} | ${SED} 's:^:${STAGEDIR}${PREFIX}/:'` + @${STRIP_CMD} `${GREP} -v -e '^@dirrm' -e '^man' -e 'rlib$$' \ + -e '\.a$$' ${PLIST} | ${SED} 's:^:${STAGEDIR}${PREFIX}/:g'` .include <bsd.port.post.mk> Added: head/lang/rust/files/patch-src__libuv__gyp_uv.py ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/lang/rust/files/patch-src__libuv__gyp_uv.py Mon Jul 28 22:58:33 2014 (r363270) @@ -0,0 +1,12 @@ +--- ./src/libuv/gyp_uv.py.orig 2014-06-28 04:53:11.000000000 +0900 ++++ ./src/libuv/gyp_uv.py 2014-07-17 12:32:13.000000000 +0900 +@@ -96,6 +96,9 @@ + + if sys.platform == 'darwin' and '-DOS=android' in sys.argv[1:]: + sys.platform='linux' ++ ++ if sys.platform.startswith('freebsd'): ++ args.append('--no-parallel') + + gyp_args = list(args) + print gyp_args
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201407282258.s6SMwX9k060387>