aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--databases/metakit/Makefile2
-rw-r--r--databases/metakit/pkg-plist1
2 files changed, 3 insertions, 0 deletions
diff --git a/databases/metakit/Makefile b/databases/metakit/Makefile
index fe623bbba65f..33aeb592b468 100644
--- a/databases/metakit/Makefile
+++ b/databases/metakit/Makefile
@@ -87,6 +87,8 @@ post-build:
.if !defined(METAKIT_WITHOUT_PYTHON)
${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py \
${WRKSRC}/../python
+ ${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py \
+ ${WRKSRC}/../python
.endif
post-install:
diff --git a/databases/metakit/pkg-plist b/databases/metakit/pkg-plist
index f41cd7b8405f..146d29a2c80c 100644
--- a/databases/metakit/pkg-plist
+++ b/databases/metakit/pkg-plist
@@ -12,6 +12,7 @@ lib/libmk4.so.0
%%WITH_PYTHON%%%%PYTHON_SITELIBDIR%%/Mk4py.so
%%WITH_PYTHON%%%%PYTHON_SITELIBDIR%%/metakit.py
%%WITH_PYTHON%%%%PYTHON_SITELIBDIR%%/metakit.pyc
+%%WITH_PYTHON%%%%PYTHON_SITELIBDIR%%/metakit.pyo
%%WITH_TCL%%lib/libmk4tcl.a
%%WITH_TCL%%lib/libmk4tcl.so
%%WITH_TCL%%lib/tcl%%TCL_V%%/Mk4tcl/Mk4tcl.so