summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorryoon <ryoon@pkgsrc.org>2017-12-04 14:49:53 +0000
committerryoon <ryoon@pkgsrc.org>2017-12-04 14:49:53 +0000
commit903fe8764c23c751528d2b7a07e6f3c649feef29 (patch)
tree59f12e6e4332174dedf703391073a51ecd52f79b /lang
parente47398ed5a664882c4a262a3bf9d0e3fe14c7770 (diff)
downloadpkgsrc-903fe8764c23c751528d2b7a07e6f3c649feef29.tar.gz
Use internal llvm to fix build after llvm 5 update and bump PKGREVISION
Diffstat (limited to 'lang')
-rw-r--r--lang/rust/Makefile11
1 files changed, 7 insertions, 4 deletions
diff --git a/lang/rust/Makefile b/lang/rust/Makefile
index ed538b750dc..52c87d2000b 100644
--- a/lang/rust/Makefile
+++ b/lang/rust/Makefile
@@ -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,--enable-new-dtags
.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
#