svn commit: r384336 - head/lang/pure
Tijl Coosemans
tijl at FreeBSD.org
Mon Apr 20 07:47:40 UTC 2015
Author: tijl
Date: Mon Apr 20 07:47:39 2015
New Revision: 384336
URL: https://svnweb.freebsd.org/changeset/ports/384336
Log:
- Remove dependency on libltdl
- Fix build on FreeBSD < 10
Reported by: amdmi3
Modified:
head/lang/pure/Makefile
Modified: head/lang/pure/Makefile
==============================================================================
--- head/lang/pure/Makefile Mon Apr 20 07:27:09 2015 (r384335)
+++ head/lang/pure/Makefile Mon Apr 20 07:47:39 2015 (r384336)
@@ -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 program
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
More information about the svn-ports-head
mailing list