Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 Nov 2016 05:19:43 +0000 (UTC)
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org
Subject:   svn commit: r425463 - in branches/2016Q4/devel/openmp: . files
Message-ID:  <201611060519.uA65JhvF075366@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jbeich
Date: Sun Nov  6 05:19:43 2016
New Revision: 425463
URL: https://svnweb.freebsd.org/changeset/ports/425463

Log:
  MFH: r424391 r425461
  
  devel/openmp: minor cleanup
  
  - Unbreak on 9.x: needs lang/gcc for <atomic>
  - Define LICENSE_FILE
  - Simplify SOVERSION fix
  - Move ONLY_FOR_ARCHS to be more visible
  - Sort USES
  
  Approved by:	portmgr blanket
  Approved by:	ports-secteam blanket

Added:
  branches/2016Q4/devel/openmp/files/
     - copied from r425461, head/devel/openmp/files/
Modified:
  branches/2016Q4/devel/openmp/Makefile
Directory Properties:
  branches/2016Q4/   (props changed)

Modified: branches/2016Q4/devel/openmp/Makefile
==============================================================================
--- branches/2016Q4/devel/openmp/Makefile	Sun Nov  6 04:32:55 2016	(r425462)
+++ branches/2016Q4/devel/openmp/Makefile	Sun Nov  6 05:19:43 2016	(r425463)
@@ -10,20 +10,17 @@ MAINTAINER=	bapt@FreeBSD.org
 COMMENT=	Support for the OpenMP language
 
 LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE.txt
 
-USES=	tar:xz cmake perl5 compiler:c11
+ONLY_FOR_ARCHS=	amd64 # i386
+
+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 <bsd.port.mk>



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