pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/lang/rust
Module Name: pkgsrc
Committed By: jperkin
Date: Thu May 30 14:36:15 UTC 2019
Modified Files:
pkgsrc/lang/rust: Makefile
Log Message:
rust: Switch to pkgsrc LLVM for SunOS temporarily.
To generate a diff of this commit:
cvs rdiff -u -r1.98 -r1.99 pkgsrc/lang/rust/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/lang/rust/Makefile
diff -u pkgsrc/lang/rust/Makefile:1.98 pkgsrc/lang/rust/Makefile:1.99
--- pkgsrc/lang/rust/Makefile:1.98 Tue May 14 15:48:15 2019
+++ pkgsrc/lang/rust/Makefile Thu May 30 14:36:15 2019
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.98 2019/05/14 15:48:15 he Exp $
+# $NetBSD: Makefile,v 1.99 2019/05/30 14:36:15 jperkin Exp $
DISTNAME= rustc-1.34.2-src
PKGNAME= ${DISTNAME:S/rustc/rust/:S/-src//}
@@ -42,8 +42,10 @@ CONFIGURE_ARGS+= --disable-llvm-static-s
CONFIGURE_ARGS+= --disable-ninja
# XXX: to be enabled in the future
#CONFIGURE_ARGS+= --jemalloc-root=${BUILDLINK_PREFIX.jemalloc}/lib
-#CONFIGURE_ARGS+= --enable-llvm-link-shared
-#CONFIGURE_ARGS+= --llvm-root=${BUILDLINK_PREFIX.llvm}
+
+# The bundled LLVM current has issues building on SunOS.
+CONFIGURE_ARGS+= --enable-llvm-link-shared
+CONFIGURE_ARGS+= --llvm-root=${BUILDLINK_PREFIX.llvm}
# Use "dist" build target for cross compile of bootstrap
#BUILD_TARGET= dist
@@ -131,6 +133,13 @@ GCC_REQD+= 4.8
.include "../../mk/bsd.prefs.mk"
+# The bundled LLVM current has issues building on SunOS.
+.if ${OPSYS} == "SunOS"
+.include "../../lang/llvm/buildlink3.mk"
+CONFIGURE_ARGS+= --enable-llvm-link-shared
+CONFIGURE_ARGS+= --llvm-root=${BUILDLINK_PREFIX.llvm}
+.endif
+
#
# Under NetBSD, do not use DT_RUNPATH
#
@@ -467,7 +476,6 @@ stage0-bootstrap: install
.include "../../devel/cmake/buildlink3.mk"
#.include "../../devel/jemalloc/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
-#.include "../../lang/llvm/buildlink3.mk"
.include "../../lang/python/tool.mk"
.include "../../security/openssl/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
Home |
Main Index |
Thread Index |
Old Index