- Remove dependency on libltdl

- Fix build on FreeBSD < 10

Reported by:	amdmi3
This commit is contained in:
Tijl Coosemans 2015-04-20 07:47:39 +00:00
parent c6dab49472
commit 21434a59e7
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=384336

View file

@ -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