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:   ryoon
Date:           Sun Jun 18 09:21:56 UTC 2017

Modified Files:
        pkgsrc/lang/rust: Makefile

Log Message:
Fix build under NetBSD etc. using internal llvm

lang/llvm 4.0 is not compatible for this version of rust.


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 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.7 pkgsrc/lang/rust/Makefile:1.8
--- pkgsrc/lang/rust/Makefile:1.7       Mon Mar 20 11:36:35 2017
+++ pkgsrc/lang/rust/Makefile   Sun Jun 18 09:21:56 2017
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2017/03/20 11:36:35 jperkin Exp $
+# $NetBSD: Makefile,v 1.8 2017/06/18 09:21:56 ryoon Exp $
 
 DISTNAME=      rustc-1.16.0-src
 PKGNAME=       ${DISTNAME:S/rustc/rust/:S/-src//}
@@ -67,10 +67,11 @@ BUILDLINK_TRANSFORM.NetBSD+=        rm:-Wl,--en
 #
 # Can't use pkgsrc llvm on SunOS at the moment due to a relocation error.
 #
-.if ${OPSYS} != "SunOS"
-.  include "../../lang/llvm/buildlink3.mk"
-CONFIGURE_ARGS+=       --llvm-root=${BUILDLINK_PREFIX.llvm}
-.endif
+## llvm 4.0 breaks lang/rust build. Use internal llvm instead.
+#.if ${OPSYS} != "SunOS"
+#.  include "../../lang/llvm/buildlink3.mk"
+#CONFIGURE_ARGS+=      --llvm-root=${BUILDLINK_PREFIX.llvm}
+#.endif
 
 #
 # Rust unfortunately requires itself to build.  On platforms which aren't



Home | Main Index | Thread Index | Old Index