From owner-svn-ports-head@FreeBSD.ORG Mon Apr 20 07:47:40 2015 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id BC53F18E; Mon, 20 Apr 2015 07:47:40 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id AAA857DD; Mon, 20 Apr 2015 07:47:40 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t3K7le8B027605; Mon, 20 Apr 2015 07:47:40 GMT (envelope-from tijl@FreeBSD.org) Received: (from tijl@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t3K7lemG027604; Mon, 20 Apr 2015 07:47:40 GMT (envelope-from tijl@FreeBSD.org) Message-Id: <201504200747.t3K7lemG027604@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: tijl set sender to tijl@FreeBSD.org using -f From: Tijl Coosemans Date: Mon, 20 Apr 2015 07:47:40 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r384336 - head/lang/pure X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Apr 2015 07:47:40 -0000 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