From owner-svn-ports-head@freebsd.org Fri May 13 23:50:00 2016 Return-Path: Delivered-To: svn-ports-head@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 9B657B39003; Fri, 13 May 2016 23:50:00 +0000 (UTC) (envelope-from bapt@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 62A251FDC; Fri, 13 May 2016 23:50:00 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u4DNnxja051141; Fri, 13 May 2016 23:49:59 GMT (envelope-from bapt@FreeBSD.org) Received: (from bapt@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u4DNnxvo051140; Fri, 13 May 2016 23:49:59 GMT (envelope-from bapt@FreeBSD.org) Message-Id: <201605132349.u4DNnxvo051140@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: bapt set sender to bapt@FreeBSD.org using -f From: Baptiste Daroussin Date: Fri, 13 May 2016 23:49:59 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r415161 - head/devel/openmp 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.22 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: Fri, 13 May 2016 23:50:00 -0000 Author: bapt Date: Fri May 13 23:49:59 2016 New Revision: 415161 URL: https://svnweb.freebsd.org/changeset/ports/415161 Log: Provide a soname to ensure runtime linker find the version we do expect it to find Modified: head/devel/openmp/Makefile Modified: head/devel/openmp/Makefile ============================================================================== --- head/devel/openmp/Makefile Fri May 13 23:40:27 2016 (r415160) +++ head/devel/openmp/Makefile Fri May 13 23:49:59 2016 (r415161) @@ -2,6 +2,7 @@ PORTNAME= openmp PORTVERSION= 3.8.0 +PORTREVISION= 1 DISTVERSIONSUFFIX= .src CATEGORIES= devel MASTER_SITES= http://llvm.org/releases/${PORTVERSION}/ @@ -14,10 +15,15 @@ LICENSE= MIT USES= tar:xz cmake perl5 USE_PERL5= build USE_LDCONFIG= yes +CMAKE_ARGS= -DLIBOMP_LIBFLAGS:STRING="-Wl,-soname,libomp.so.0" ONLY_FOR_ARCHS= amd64 # i386 PLIST_FILES= include/omp.h \ lib/libgomp.so \ lib/libiomp5.so \ + lib/libomp.so.0 \ lib/libomp.so +post-install: + ${LN} -sf libomp.so ${STAGEDIR}${PREFIX}/lib/libomp.so.0 + .include