1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-30 05:40:06 +00:00

science/agrum: Simplify PLIST_SUB

This commit is contained in:
Yuri Victorovich 2019-01-09 11:11:01 +00:00
parent 2324f72911
commit 6a66c47692
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=489769

View File

@ -33,9 +33,7 @@ OPENMP_LIB_DEPENDS= libomp.so:devel/openmp
PYTHON_CMAKE_BOOL= BUILD_PYTHON
PYTHON_USES= python
PYTHON_VARS= PYTHON_VER_MAJ=${PYTHON_VER:R}
PLIST_SUB+= PYTHON_VER_MAJ=${PYTHON_VER_MAJ}
PYTHON_VARS= PLIST_SUB+="PYTHON_VER_MAJ=${PYTHON_VER:R}"
# use clang from ports because cmake can't find OpenMP with base clang, see https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=223678
BUILD_DEPENDS+= clang${LLVM_DEFAULT}:devel/llvm${LLVM_DEFAULT}