summaryrefslogtreecommitdiff
path: root/science
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2019-01-09 11:11:01 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2019-01-09 11:11:01 +0000
commit6a66c4769299a4d8f3227b2a2fbbffd00df0aa9a (patch)
tree2da85308b16c19d86a275c8fd3145c6876739e91 /science
parentscience/agrum: Fix build for python 3.x (diff)
science/agrum: Simplify PLIST_SUB
Notes
Notes: svn path=/head/; revision=489769
Diffstat (limited to 'science')
-rw-r--r--science/agrum/Makefile4
1 files changed, 1 insertions, 3 deletions
diff --git a/science/agrum/Makefile b/science/agrum/Makefile
index cf67bec280a4..a92bb7be2d22 100644
--- a/science/agrum/Makefile
+++ b/science/agrum/Makefile
@@ -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}