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:           Mon Dec  4 14:49:53 UTC 2017

Modified Files:
        pkgsrc/lang/rust: Makefile

Log Message:
Use internal llvm to fix build after llvm 5 update and bump PKGREVISION


To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.22 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.21 pkgsrc/lang/rust/Makefile:1.22
--- pkgsrc/lang/rust/Makefile:1.21      Wed Nov 29 12:25:45 2017
+++ pkgsrc/lang/rust/Makefile   Mon Dec  4 14:49:53 2017
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.21 2017/11/29 12:25:45 wiz Exp $
+# $NetBSD: Makefile,v 1.22 2017/12/04 14:49:53 ryoon Exp $
 
 DISTNAME=      rustc-1.22.1-src
 PKGNAME=       ${DISTNAME:S/rustc/rust/:S/-src//}
+PKGREVISION=   1
 CATEGORIES=    lang
 MASTER_SITES=  http://static.rust-lang.org/dist/
 
@@ -14,6 +15,8 @@ USE_GCC_RUNTIME=      yes
 USE_LANGUAGES=         c c++11
 USE_LIBTOOL=           yes
 USE_TOOLS+=            bash gmake perl:build pkg-config
+# For internal llvm
+BUILD_DEPENDS+=                cmake-[0-9]*:../../devel/cmake
 
 HAS_CONFIGURE=         yes
 CONFIGURE_ARGS+=       --prefix=${PREFIX}
@@ -60,9 +63,9 @@ BUILDLINK_TRANSFORM.NetBSD+=  rm:-Wl,--en
 .if ${OPSYS} == "SunOS"
 CONFIGURE_ARGS+=       --disable-jemalloc
 .else
-CONFIGURE_ARGS+=       --llvm-root=${BUILDLINK_PREFIX.llvm}
-BUILDLINK_API_DEPENDS.llvm+=  llvm>=4.0.1nb1
-.include "../../lang/llvm/buildlink3.mk"
+#CONFIGURE_ARGS+=      --llvm-root=${BUILDLINK_PREFIX.llvm}
+#BUILDLINK_API_DEPENDS.llvm+=  llvm>=4.0.1nb1
+#.include "../../lang/llvm/buildlink3.mk"
 .endif
 
 #



Home | Main Index | Thread Index | Old Index