aboutsummaryrefslogtreecommitdiff
path: root/lang/pure
diff options
context:
space:
mode:
Diffstat (limited to 'lang/pure')
-rw-r--r--lang/pure/Makefile9
1 files changed, 4 insertions, 5 deletions
diff --git a/lang/pure/Makefile b/lang/pure/Makefile
index 749e7597a57a..a8b7f236bb82 100644
--- a/lang/pure/Makefile
+++ b/lang/pure/Makefile
@@ -3,7 +3,7 @@
PORTNAME= pure
PORTVERSION= 0.64
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= lang
MASTER_SITES= https://bitbucket.org/purelang/pure-lang/downloads/
EXTRACT_ONLY= ${DISTNAME}.tar.gz
@@ -14,8 +14,7 @@ COMMENT= Modern-style functional programming language
LICENSE= GPLv3 LGPL3
LICENSE_COMB= dual
-LIB_DEPENDS= libltdl.so:${PORTSDIR}/devel/libltdl \
- libgmp.so:${PORTSDIR}/math/gmp \
+LIB_DEPENDS= libgmp.so:${PORTSDIR}/math/gmp \
libmpfr.so:${PORTSDIR}/math/mpfr \
libpcreposix.so:${PORTSDIR}/devel/pcre \
libLLVM-${LLVM_VERSION:C/./&./}.so:${PORTSDIR}/devel/llvm${LLVM_VERSION}
@@ -47,8 +46,8 @@ LLVM_VERSION= $v
.endif
LLVM_VERSION?= 35 # Pure does not build with llvm36. Yet?
SUB_LIST+= LLVM_VERSION=${LLVM_VERSION}
-.if ${LLVM_VERSION} > 34
-CXXFLAGS+= -std=c++11
+.if ${LLVM_VERSION} >= 35
+USES+= compiler:c++11-lib
.endif
OPTIONS_DEFAULT= ETC