From owner-svn-ports-all@freebsd.org Mon Sep 5 16:11:25 2016 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 074A7A9DE2A; Mon, 5 Sep 2016 16:11:25 +0000 (UTC) (envelope-from pi@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::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 B09387E4; Mon, 5 Sep 2016 16:11:24 +0000 (UTC) (envelope-from pi@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u85GBNEe061705; Mon, 5 Sep 2016 16:11:23 GMT (envelope-from pi@FreeBSD.org) Received: (from pi@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u85GBNGF061703; Mon, 5 Sep 2016 16:11:23 GMT (envelope-from pi@FreeBSD.org) Message-Id: <201609051611.u85GBNGF061703@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: pi set sender to pi@FreeBSD.org using -f From: Kurt Jaeger Date: Mon, 5 Sep 2016 16:11:23 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r421377 - in head/devel/py-llvmlite: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Sep 2016 16:11:25 -0000 Author: pi Date: Mon Sep 5 16:11:23 2016 New Revision: 421377 URL: https://svnweb.freebsd.org/changeset/ports/421377 Log: devel/py-llvmlite: fix linking of libllvmlite.so to the correct libgcc_s.so PR: 211346 Submitted by: David Kalliecharan (maintainer) Added: head/devel/py-llvmlite/files/ head/devel/py-llvmlite/files/patch-ffi-Makefile.freebsd (contents, props changed) Modified: head/devel/py-llvmlite/Makefile Modified: head/devel/py-llvmlite/Makefile ============================================================================== --- head/devel/py-llvmlite/Makefile Mon Sep 5 16:00:33 2016 (r421376) +++ head/devel/py-llvmlite/Makefile Mon Sep 5 16:11:23 2016 (r421377) @@ -3,6 +3,7 @@ PORTNAME= llvmlite PORTVERSION= 0.13.0 +PORTREVISION= 1 CATEGORIES= devel python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -16,7 +17,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE BROKEN_FreeBSD_9= llvm38 does not find include cmath # Python 2.7,3.4+ -USES= python +USES= python fortran USE_PYTHON= distutils autoplist .include @@ -33,4 +34,9 @@ BUILD_DEPENDS+= llvm-config${LLVM_VER}:d MAKE_ENV= LLVM_CONFIG=${LOCALBASE}/bin/llvm-config${LLVM_VER} +post-patch: +# Requried, because Makefile.freebsd does not see VARS from this Makefile + ${REINPLACE_CMD} -e "s|%%_GCC_VER%%|${_GCC_VER}|" \ + ${WRKSRC}/ffi/Makefile.freebsd + .include Added: head/devel/py-llvmlite/files/patch-ffi-Makefile.freebsd ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-llvmlite/files/patch-ffi-Makefile.freebsd Mon Sep 5 16:11:23 2016 (r421377) @@ -0,0 +1,11 @@ +--- ffi/Makefile.freebsd.orig 2016-09-03 17:26:16.399458000 +0000 ++++ ffi/Makefile.freebsd 2016-09-03 17:26:38.057115000 +0000 +@@ -1,7 +1,7 @@ + + CXX = clang++ -std=c++11 -stdlib=libc++ + CXXFLAGS = $(LLVM_CXXFLAGS) +-LDFLAGS = $(LLVM_LDFLAGS) ++LDFLAGS = $(LLVM_LDFLAGS) -shared -Wl,-rpath=$(LOCALBASE)/lib/gcc%%_GCC_VER%% + LIBS = $(LLVM_LIBS) + INCLUDE = core.h + SRC = assembly.cpp bitcode.cpp core.cpp initfini.cpp module.cpp value.cpp \