tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Fix rust build



Hey folks,

we can't really use pkgsrc LLVM for lang/rust currently, as the versions
mismatch. The old rust in pkgsrc needs LLVM < 4.

Simple fix below - any reason not to do this?

Martin


Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/lang/rust/Makefile,v
retrieving revision 1.7
diff -u -r1.7 Makefile
--- Makefile	20 Mar 2017 11:36:35 -0000	1.7
+++ Makefile	10 May 2017 15:11:39 -0000
@@ -64,13 +64,6 @@
 #
 BUILDLINK_TRANSFORM.NetBSD+=	rm:-Wl,--enable-new-dtags
 
-#
-# 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
 
 #
 # Rust unfortunately requires itself to build.  On platforms which aren't



Home | Main Index | Thread Index | Old Index