devel/openmp: phase out

- Expire after the last version without /usr/lib/libomp.so
- Drop SOVERSION for seamless transition (i.e., avoid conditionals)

PR:		236907
Approved by:	bapt (maintainer)
Differential Revision:	https://reviews.freebsd.org/D19767
This commit is contained in:
Jan Beich 2019-05-08 16:05:53 +00:00
parent 9595532741
commit 3b1a1bcee4
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=501030
52 changed files with 55 additions and 65 deletions

View file

@ -2,7 +2,7 @@
PORTNAME= siril
DISTVERSION= 0.9.10
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= astro graphics
MASTER_SITES= https://free-astro.org/download/

View file

@ -2,7 +2,7 @@
PORTNAME= abyss
DISTVERSION= 2.1.5
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= biology
MASTER_SITES= http://www.bcgsc.ca/platform/bioinfo/software/${PORTNAME}/releases/${DISTVERSION}/

View file

@ -2,6 +2,7 @@
PORTNAME= fastTSNE
DISTVERSION= 0.2.13
PORTREVISION= 1
CATEGORIES= biology python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}

View file

@ -2,7 +2,7 @@
PORTNAME= wsjtx
PORTVERSION= 2.0.1
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES= comms hamradio
MASTER_SITES= SF/wsjt/${PORTNAME}-${PORTVERSION}${DISTVERSIONSUFFIX}

View file

@ -2,7 +2,7 @@
PORTNAME= pdf2djvu
PORTVERSION= 0.9.12
PORTREVISION= 3
PORTREVISION= 4
CATEGORIES= converters
MASTER_SITES= https://github.com/jwilk/${PORTNAME}/releases/download/${PORTVERSION}/

View file

@ -3,6 +3,7 @@
PORTNAME= openmp
DISTVERSION= 8.0.0
DISTVERSIONSUFFIX= .src
PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= http://llvm.org/releases/${DISTVERSION}/
@ -12,6 +13,8 @@ COMMENT= Open Multi-Processing runtime for LLVM/Clang
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
DEPRECATED= Part of base system since FreeBSD 11.3/12.1
EXPIRATION_DATE=2019-12-31
ONLY_FOR_ARCHS= amd64 i386
USES= cmake compiler:c++11-lib perl5 tar:xz
@ -23,8 +26,6 @@ PLIST_FILES= include/omp.h \
lib/libgomp.so \
lib/libiomp5.so \
lib/libomp.so \
lib/libomp.so.0 \
lib/libomptarget.so \
lib/libomptarget.so.0
lib/libomptarget.so
.include <bsd.port.mk>

View file

@ -1,14 +0,0 @@
Prevent consumers from picking up libomptarget.so from devel/llvm* ports
--- libomptarget/src/CMakeLists.txt.orig 2017-12-06 21:59:15 UTC
+++ libomptarget/src/CMakeLists.txt
@@ -27,5 +27,9 @@ target_link_libraries(omptarget
${CMAKE_DL_LIBS}
"-Wl,--version-script=${CMAKE_CURRENT_SOURCE_DIR}/exports")
+if(NOT WIN32)
+ set_target_properties(omptarget PROPERTIES SOVERSION 0)
+endif()
+
# Install libomptarget under the lib destination folder.
install(TARGETS omptarget LIBRARY DESTINATION lib${OPENMP_LIBDIR_SUFFIX})

View file

@ -1,13 +0,0 @@
Prevent consumers from picking up libomp.so from devel/llvm* ports
--- 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

View file

@ -3,7 +3,7 @@
PORTNAME= numba
DISTVERSION= 0.40.1
PORTREVISION= 3
PORTREVISION= 4
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}

View file

@ -3,7 +3,7 @@
PORTNAME= quantlib
PORTVERSION= 1.15
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= finance math devel
MASTER_SITES= https://dl.bintray.com/${PORTNAME}/releases/
DISTNAME= QuantLib-${PORTVERSION}

View file

@ -3,7 +3,7 @@
PORTNAME= aster
DISTVERSION= ${ASTER_DISTVERSION}
PORTREVISION= 3
PORTREVISION= 4
CATEGORIES= french cad
MAINTAINER= thierry@FreeBSD.org

View file

@ -3,7 +3,7 @@
PORTNAME= blender
PORTVERSION= 2.79b
PORTREVISION= 11
PORTREVISION= 12
CATEGORIES= graphics games
MASTER_SITES= http://download.blender.org/source/ \
http://mirror.cs.umn.edu/blender.org/source/ \
@ -128,7 +128,7 @@ OPENJPEG_LIB_DEPENDS= libopenjpeg.so:graphics/openjpeg15
# -DOpenMP_C_FLAGS:STRING=-fopenmp -lm \
# -DOpenMP_CXX_FLAGS:STRING=-fopenmp -lm
#OPENMP_CMAKE_OFF= -DWITH_OPENMP:BOOL=OFF
#OPENMP_LIB_DEPENDS= libomp.so.0:devel/openmp
#OPENMP_LIB_DEPENDS= libomp.so:devel/openmp
#OPENMP_LDFLAGS= -L${LOCALBASE}/lib
OPENSUBDIV_CMAKE_BOOL= WITH_OPENSUBDIV
OPENSUBDIV_LIB_DEPENDS= libosdCPU.so:graphics/opensubdiv

View file

@ -3,6 +3,7 @@
PORTNAME= darktable
PORTVERSION= 2.6.2
PORTREVISION= 1
CATEGORIES= graphics
MASTER_SITES= https://github.com/darktable-org/${PORTNAME}/releases/download/release-${PORTVERSION:C/\.rc/rc/}/
@ -108,7 +109,7 @@ CXX= clang++${LLVM_VER}
# Depend on devel/openmp instead of the full LLVM at runtime. Required
# for a consistent libomp experience.
LIB_DEPENDS+= libomp.so.0:devel/openmp
LIB_DEPENDS+= libomp.so:devel/openmp
.endif
.if defined(WITH_DEBUG)

View file

@ -2,6 +2,7 @@
PORTNAME= gmic
DISTVERSION= 2.6.1
PORTREVISION= 1
CATEGORIES= graphics
MASTER_SITES= https://gmic.eu/files/source/
DISTNAME= ${PORTNAME}_${DISTVERSION}

View file

@ -4,7 +4,7 @@
PORTNAME= gthumb
PORTVERSION= 3.6.1
PORTREVISION= 7
PORTREVISION= 8
CATEGORIES= graphics
MASTER_SITES= GNOME
DIST_SUBDIR= gnome3

View file

@ -3,8 +3,8 @@
PORTNAME= lightzone
DISTVERSION= 4.1.8-3
PORTREVISION= 2
DISTVERSIONSUFFIX= -g36e87773
PORTREVISION= 3
CATEGORIES= graphics java
DIST_SUBDIR= ${PORTNAME}

View file

@ -3,6 +3,7 @@
PORTNAME= mandelbulber
PORTVERSION= 2.17
PORTREVISION= 1
CATEGORIES= graphics
MAINTAINER= amdmi3@FreeBSD.org

View file

@ -3,6 +3,7 @@
PORTNAME= rawtherapee
PORTVERSION= 5.6
PORTREVISION= 1
#DISTNAME= ${PORTNAME}-${PORTVERSION:R}-rc2${DISTVERSIONSUFFIX}
CATEGORIES= graphics
MASTER_SITES= http://rawtherapee.com/shared/source/

View file

@ -3,7 +3,7 @@
PORTNAME= tesseract
PORTVERSION= 4.0.0
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES= graphics
MAINTAINER= pkubaj@anongoth.pl

View file

@ -3,6 +3,7 @@
PORTNAME= R
DISTVERSION= 3.6.0
PORTREVISION= 1
CATEGORIES= math lang
MASTER_SITES= CRAN/src/base/R-${PORTVERSION:C|\..*||}

View file

@ -3,6 +3,7 @@
PORTNAME= ambit
DISTVERSIONPREFIX= v
DISTVERSION= 0.3
PORTREVISION= 1
CATEGORIES= math
PKGNAMESUFFIX= -tensor # avoid clash with shells/ambit

View file

@ -2,6 +2,7 @@
PORTNAME= blaze
DISTVERSION= 3.5
PORTREVISION= 1
CATEGORIES= math
MASTER_SITES= https://bitbucket.org/${BB_ACCOUNT}/${BB_PROJECT}/downloads/

View file

@ -2,7 +2,7 @@
PORTNAME= blazeiterative
PORTVERSION= g20180409
PORTREVISION= 4
PORTREVISION= 5
CATEGORIES= math
MAINTAINER= yuri@FreeBSD.org

View file

@ -2,7 +2,7 @@
PORTNAME= CombBLAS
DISTVERSION= 1.6.2
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= math
MASTER_SITES= https://people.eecs.berkeley.edu/~aydin/${PORTNAME}_FILES/
DISTNAME= ${PORTNAME}_beta_${DISTVERSION:S/.//:S/./_/}

View file

@ -3,7 +3,7 @@
PORTNAME= dbcsr
DISTVERSIONPREFIX= v
DISTVERSION= 1.1.0
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= math
MAINTAINER= yuri@FreeBSD.org

View file

@ -3,7 +3,7 @@
PORTNAME= gretl
DISTVERSION= 2019a
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES= math finance
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${DISTVERSIONFULL}/

View file

@ -2,6 +2,7 @@
PORTNAME= HipMCL
DISTVERSION= g20180814
PORTREVISION= 1
CATEGORIES= math
MASTER_SITES= https://bitbucket.org/${BB_ACCOUNT}/${BB_PROJECT}/get/${BB_COMMIT}.tar.gz?dummy=/

View file

@ -3,6 +3,7 @@
PORTNAME= hmat-oss
DISTVERSION= 1.5.0-340
DISTVERSIONSUFFIX= -g700d1fa
PORTREVISION= 1
CATEGORIES= math
MAINTAINER= yuri@FreeBSD.org

View file

@ -3,7 +3,7 @@
PORTNAME= libnormaliz
DISTVERSIONPREFIX= v
DISTVERSION= 3.6.3
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= math
MAINTAINER= phascolarctos@protonmail.ch

View file

@ -2,7 +2,7 @@
PORTNAME= libxsmm
DISTVERSION= 1.10
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES= math science
MAINTAINER= yuri@FreeBSD.org

View file

@ -2,6 +2,7 @@
PORTNAME= lis
DISTVERSION= 2.0.18
PORTREVISION= 1
CATEGORIES= math
MASTER_SITES= https://www.ssisc.org/lis/dl/

View file

@ -3,7 +3,7 @@
PORTNAME= mkl-dnn
DISTVERSIONPREFIX= v
DISTVERSION= 0.18.1
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= math
MAINTAINER= yuri@FreeBSD.org

View file

@ -3,7 +3,7 @@
PORTNAME= rpy2
DISTVERSION= 3.0.2
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= math
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}

View file

@ -3,7 +3,7 @@
PORTNAME= yt
DISTVERSION= 3.5.0
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= math astro python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}

View file

@ -4,6 +4,7 @@
PORTNAME= timbl
DISTVERSIONPREFIX= v
DISTVERSION= 6.4.13
PORTREVISION= 1
CATEGORIES= math
MAINTAINER= yuri@FreeBSD.org

View file

@ -3,7 +3,7 @@
PORTNAME= tmv
DISTVERSIONPREFIX= v
DISTVERSION= 0.75
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES= math
MAINTAINER= yuri@FreeBSD.org

View file

@ -2,7 +2,7 @@
PORTNAME= urh
DISTVERSION= 2.5.7
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= misc hamradio python
MASTER_SITES= CHEESESHOP

View file

@ -3,7 +3,7 @@
PORTNAME= abinit
DISTVERSION= 8.10.3
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES= science
MASTER_SITES= https://www.abinit.org/sites/default/files/packages/

View file

@ -3,6 +3,7 @@
PORTNAME= chrono
DISTVERSION= 4.0.0-89
DISTVERSIONSUFFIX= -ge36b5a9ce
PORTREVISION= 1
CATEGORIES= science devel
MAINTAINER= yuri@FreeBSD.org

View file

@ -4,7 +4,7 @@
PORTNAME= code_saturne
PORTVERSION= 5.3.2
DISTVERSIONPREFIX= v
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES= science parallel
MAINTAINER= thierry@FreeBSD.org

View file

@ -2,7 +2,7 @@
PORTNAME= dftbplus
DISTVERSION= 18.2
PORTREVISION= 5
PORTREVISION= 6
CATEGORIES= science
MAINTAINER= yuri@FreeBSD.org

View file

@ -2,6 +2,7 @@
PORTNAME= gabedit
DISTVERSION= 2.5.1
PORTREVISION= 1
CATEGORIES= science
#MASTER_SITES= http://prdownloads.sourceforge.net/${PORTNAME}/ # old SF-based source
#DISTNAME= GabeditSrc${DISTVERSION:S/.//g}

View file

@ -3,7 +3,7 @@
PORTNAME= gromacs
DISTVERSION= 2019.2
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= science
MASTER_SITES= ftp://ftp.gromacs.org/pub/gromacs/

View file

@ -2,6 +2,7 @@
PORTNAME= lammps
PORTVERSION= ${GH_TAGNAME:C/(stable|patch)_([0-9]{1,2})([A-Z][a-z][a-z])([0-9]{4})/\4.\3.\2/S/Jan/01/S/Feb/02/S/Mar/03/S/Apr/04/S/May/05/S/Jun/06/S/Jul/07/S/Aug/08/S/Sep/09/S/Oct/10/S/Nov/11/S/Dec/12/}
PORTREVISION= 1
CATEGORIES= science
MAINTAINER= yuri@FreeBSD.org

View file

@ -3,7 +3,7 @@
PORTNAME= latte
DISTVERSIONPREFIX= v
DISTVERSION= 1.2.1
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES= science
MAINTAINER= yuri@FreeBSD.org

View file

@ -2,7 +2,7 @@
PORTNAME= openmx
DISTVERSION= 3.8.5 # the 18June12 patch upgrades 3.8 -> 3.8.5
PORTREVISION= 3
PORTREVISION= 4
CATEGORIES= science
MASTER_SITES= http://www.openmx-square.org/ \
http://www.openmx-square.org/bugfixed/18June12/:patch

View file

@ -2,6 +2,7 @@
PORTNAME= GPy
DISTVERSION= 1.9.6
PORTREVISION= 1
CATEGORIES= science python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}

View file

@ -2,7 +2,7 @@
PORTNAME= PyFR
DISTVERSION= 1.8.0
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES= science python
MASTER_SITES= http://www.pyfr.org/download/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}

View file

@ -2,7 +2,7 @@
PORTNAME= phono3py
DISTVERSION= 1.13.3.27
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= science python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}

View file

@ -3,7 +3,7 @@
PORTNAME= qmcpack
DISTVERSIONPREFIX= v
DISTVERSION= 3.7.0
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES= science
MAINTAINER= yuri@FreeBSD.org

View file

@ -3,7 +3,7 @@
PORTNAME= libfolia
DISTVERSIONPREFIX= v
DISTVERSION= 1.15
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= textproc
MAINTAINER= yuri@FreeBSD.org

View file

@ -3,7 +3,7 @@
PORTNAME= ucto
DISTVERSIONPREFIX= v
DISTVERSION= 0.14.1
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES= textproc
MAINTAINER= yuri@FreeBSD.org