aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--security/botan2/Makefile20
1 files changed, 17 insertions, 3 deletions
diff --git a/security/botan2/Makefile b/security/botan2/Makefile
index 351d619c5419..3d1aa96d8efb 100644
--- a/security/botan2/Makefile
+++ b/security/botan2/Makefile
@@ -1,5 +1,6 @@
PORTNAME= botan
DISTVERSION= 2.19.2
+PORTREVISION= 1
CATEGORIES= security
MASTER_SITES= http://botan.randombit.net/releases/
PKGNAMESUFFIX= 2
@@ -43,13 +44,26 @@ PLIST_SUB= SHLIBVER=${_SHLIBVER} \
SOABIVER=${_SOABIVER}
PORTDOCS= *
-OPTIONS_DEFINE= DOCS MANPAGES PYTHON SQLITE3
-OPTIONS_DEFAULT= MANPAGES
-OPTIONS_SUB= yes
+OPTIONS_DEFINE= DOCS MANPAGES PYTHON SQLITE3
+OPTIONS_DEFINE_aarch64= OPENMP
+OPTIONS_DEFINE_amd64= OPENMP
+OPTIONS_DEFINE_i386= OPENMP
+OPTIONS_DEFINE_powerpc64= OPENMP
+OPTIONS_DEFINE_powerpc64le= OPENMP
+OPTIONS_DEFINE_riscv64= OPENMP
+OPTIONS_DEFAULT= MANPAGES
+OPTIONS_DEFAULT_aarch64= OPENMP
+OPTIONS_DEFAULT_amd64= OPENMP
+OPTIONS_DEFAULT_powerpc64= OPENMP
+OPTIONS_DEFAULT_powerpc64le= OPENMP
+OPTIONS_DEFAULT_riscv64= OPENMP
+OPTIONS_SUB= yes
MANPAGES_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sphinx>=0:textproc/py-sphinx@${PY_FLAVOR}
MANPAGES_CONFIGURE_WITH= sphinx
+OPENMP_CONFIGURE_WITH= openmp
+
PYTHON_USES= python:3.6+
PYTHON_USES_OFF= python:3.6+,build
PYTHON_CONFIGURE_ON= --with-python-versions=${PYTHON_VER}