Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Apr 2015 07:47:40 +0000 (UTC)
From:      Tijl Coosemans <tijl@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r384336 - head/lang/pure
Message-ID:  <201504200747.t3K7lemG027604@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201504200747.t3K7lemG027604>