pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang/rust Use internal llvm to fix build after llvm 5 ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/57bd1fa1a244
branches:  trunk
changeset: 372372:57bd1fa1a244
user:      ryoon <ryoon%pkgsrc.org@localhost>
date:      Mon Dec 04 14:49:53 2017 +0000

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

diffstat:

 lang/rust/Makefile |  11 +++++++----
 1 files changed, 7 insertions(+), 4 deletions(-)

diffs (35 lines):

diff -r dc1ce207199e -r 57bd1fa1a244 lang/rust/Makefile
--- a/lang/rust/Makefile        Mon Dec 04 14:42:16 2017 +0000
+++ b/lang/rust/Makefile        Mon Dec 04 14:49:53 2017 +0000
@@ -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_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 @@
 .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