Date: Thu, 17 Jul 2014 16:51:30 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 191927] New: bugfixes: lang/rust fix build failure and Bug #189357 Message-ID: <bug-191927-13@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=191927 Bug ID: 191927 Summary: bugfixes: lang/rust fix build failure and Bug #189357 Product: Ports Tree Version: Latest Hardware: Any OS: Any Status: Needs Triage Severity: Affects Only Me Priority: Normal Component: Individual Port(s) Assignee: freebsd-ports-bugs@FreeBSD.org Reporter: mitsururike@gmail.com bugfixes: fix build failure and Bug #189357 - gpy fails with an error ImportError: This platform lacks a functioning sem_open implementation, therefore, the required synchronization primitives needed will not funct see issue 3770. and build fails. - the patch posted to https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=1893 has not been applied yet. Fix: diff --git a/lang/rust/Makefile b/lang/rust/Makefile index 41e5b4c..98fea06 100644 --- a/lang/rust/Makefile +++ b/lang/rust/Makefile @@ -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/:boot @@ -64,6 +65,6 @@ post-patch: post-install: @${RM} ${STAGEDIR}${PREFIX}/lib/rustlib/manifest - ${STRIP_CMD} `${GREP} -v -e '^@dirrm' -e '^man' -e 'rlib$$' ${PLIST} | ${SED} 's:^:${STAGEDIR}${PREFIX}/:g'` + ${STRIP_CMD} `${GREP} -v -e '^@dirrm' -e '^man' -e 'rlib$$' -e '\.a$$' ${PLIST} | ${SED} 's:^:${STAGEDIR}${PREFIX}/:g'` .include <bsd.port.post.mk> diff --git a/lang/rust/files/patch-src__libuv__gyp_uv.py b/lang/rust/files/patch-src__libuv__gyp_uv.py new file mode 100644 index 0000000..fdb69da --- /dev/null +++ b/lang/rust/files/patch-src__libuv__gyp_uv.py @@ -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 -- You are receiving this mail because: You are the assignee for the bug.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-191927-13>