From owner-svn-ports-all@freebsd.org Sun Nov 6 03:58:39 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 0A578C1D29B; Sun, 6 Nov 2016 03:58:39 +0000 (UTC) (envelope-from jbeich@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 AE653F7C; Sun, 6 Nov 2016 03:58:38 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id uA63wbV9044610; Sun, 6 Nov 2016 03:58:37 GMT (envelope-from jbeich@FreeBSD.org) Received: (from jbeich@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id uA63wbGc044607; Sun, 6 Nov 2016 03:58:37 GMT (envelope-from jbeich@FreeBSD.org) Message-Id: <201611060358.uA63wbGc044607@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: jbeich set sender to jbeich@FreeBSD.org using -f From: Jan Beich Date: Sun, 6 Nov 2016 03:58:37 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r425461 - in head/devel/openmp: . 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: Sun, 06 Nov 2016 03:58:39 -0000 Author: jbeich Date: Sun Nov 6 03:58:37 2016 New Revision: 425461 URL: https://svnweb.freebsd.org/changeset/ports/425461 Log: devel/openmp: minor cleanup - Unbreak on 9.x: needs lang/gcc for - Define LICENSE_FILE - Simplify SOVERSION fix - Move ONLY_FOR_ARCHS to be more visible - Sort USES Approved by: portmgr blanket Added: head/devel/openmp/files/ head/devel/openmp/files/patch-runtime_src_CMakeLists.txt (contents, props changed) Modified: head/devel/openmp/Makefile (contents, props changed) Modified: head/devel/openmp/Makefile ============================================================================== --- head/devel/openmp/Makefile Sun Nov 6 03:51:24 2016 (r425460) +++ head/devel/openmp/Makefile Sun Nov 6 03:58:37 2016 (r425461) @@ -10,22 +10,17 @@ MAINTAINER= bapt@FreeBSD.org COMMENT= Support for the OpenMP language LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE.txt -BROKEN_FreeBSD_9= does not build +ONLY_FOR_ARCHS= amd64 # i386 -USES= tar:xz cmake perl5 compiler:c11 +USES= cmake compiler:c++11-lib perl5 tar:xz 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: - ${MV} ${STAGEDIR}${PREFIX}/lib/libomp.so ${STAGEDIR}${PREFIX}/lib/libomp.so.0 - ${LN} -sf libomp.so.0 ${STAGEDIR}${PREFIX}/lib/libomp.so - .include Added: head/devel/openmp/files/patch-runtime_src_CMakeLists.txt ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/openmp/files/patch-runtime_src_CMakeLists.txt Sun Nov 6 03:58:37 2016 (r425461) @@ -0,0 +1,11 @@ +--- runtime/src/CMakeLists.txt.orig 2016-06-28 19:25:13 UTC ++++ runtime/src/CMakeLists.txt +@@ -235,6 +235,8 @@ if(WIN32) + -o ${LIBOMP_LIB_NAME}.def ${CMAKE_CURRENT_SOURCE_DIR}/dllexports + DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/dllexports ${LIBOMP_TOOLS_DIR}/generate-def.pl + ) ++else() ++ set_target_properties(omp PROPERTIES SOVERSION 0) + endif() + + # Building the Fortran module files