summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--accessibility/caribou/Makefile1
-rw-r--r--lang/gjs/Makefile2
-rw-r--r--security/libpwquality/Makefile4
3 files changed, 7 insertions, 0 deletions
diff --git a/accessibility/caribou/Makefile b/accessibility/caribou/Makefile
index ba1d50e6c..a79a0ff52 100644
--- a/accessibility/caribou/Makefile
+++ b/accessibility/caribou/Makefile
@@ -32,6 +32,7 @@ LDFLAGS+= -L${LOCALBASE}/lib
CONFIGURE_ARGS= --enable-gtk2-module=no
GLIB_SCHEMAS= org.gnome.caribou.gschema.xml \
org.gnome.antler.gschema.xml
+python_CMD= ${PYTHON_CMD}
post-install:
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libcaribou.so.0
diff --git a/lang/gjs/Makefile b/lang/gjs/Makefile
index 9c7433754..6e88ea507 100644
--- a/lang/gjs/Makefile
+++ b/lang/gjs/Makefile
@@ -27,6 +27,8 @@ CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
SHEBANG_FILES= scripts/make-tests
+python_OLD_CMD= /usr/bin/env python
+python_CMD= ${PYTHON_CMD}
post-install:
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/lib*.so*
diff --git a/security/libpwquality/Makefile b/security/libpwquality/Makefile
index d5c5789b5..104e6d5dd 100644
--- a/security/libpwquality/Makefile
+++ b/security/libpwquality/Makefile
@@ -36,4 +36,8 @@ CONFIGURE_ARGS+=--disable-python-bindings
PLIST_SUB+= PYTHON="@comment "
.endif
+post-patch:
+ @${REINPLACE_CMD} -e 's|python setup.py build|${PYTHON_VERSION} setup.py build|g' \
+ ${WRKSRC}/python/Makefile.in
+
.include <bsd.port.mk>