summaryrefslogtreecommitdiff
path: root/chat
diff options
context:
space:
mode:
authorriastradh <riastradh@pkgsrc.org>2020-04-28 05:46:27 +0000
committerriastradh <riastradh@pkgsrc.org>2020-04-28 05:46:27 +0000
commitd57490b9a3bc98894e1cc4f62123c91b515f6d1f (patch)
treef0f39e073e4293429bc61c0b5b7452b5e62bd533 /chat
parent6078a0806c30982e09f65b219396535d43bebe02 (diff)
downloadpkgsrc-d57490b9a3bc98894e1cc4f62123c91b515f6d1f.tar.gz
chat/mumble: needs python as tool
Otherwise configure fails with: ... Reading /tmp/pkgbuild/2020Q1/chat/mumble/work/mumble-1.3.0/src/mumble/mumble.pro Project ERROR: Unable to find the system's Python binary. Some scripts invoked during the Mumble build use Python. You can manually specify it via the MUMBLE_PYTHON environment variable (either 2 or 3).
Diffstat (limited to 'chat')
-rw-r--r--chat/mumble/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/chat/mumble/Makefile b/chat/mumble/Makefile
index 4c976b8316d..814ee98c744 100644
--- a/chat/mumble/Makefile
+++ b/chat/mumble/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.16 2020/04/12 08:28:21 adam Exp $
+# $NetBSD: Makefile,v 1.17 2020/04/28 05:46:27 riastradh Exp $
DISTNAME= mumble-1.3.0
PKGREVISION= 7
@@ -16,6 +16,9 @@ USE_TOOLS+= pkg-config gmake
USE_LANGUAGES= c c++11
USE_LIBTOOL= yes
+PYTHON_FOR_BUILD_ONLY= tool
+CONFIGURE_ENV+= MUMBLE_PYTHON=${PYTHONBIN:Q}
+
BUILD_TARGET= release
# C++11
@@ -61,7 +64,7 @@ INSTALLATION_DIRS+= share/pixmaps
INSTALLATION_DIRS+= ${PKGMANDIR}/man1
do-configure:
- cd ${WRKSRC} && ${QTDIR}/bin/qmake -unix -recursive main.pro \
+ cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ${QTDIR}/bin/qmake -unix -recursive main.pro \
${CONFIG_OPTIONS} ${MAKE_ENV} \
QMAKE_CFLAGS=${CFLAGS:Q} \
QMAKE_CXXFLAGS=${CXXFLAGS:Q} \
@@ -104,6 +107,7 @@ do-install:
.include "../../devel/libltdl/buildlink3.mk"
.include "../../devel/protobuf/buildlink3.mk"
.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
+.include "../../lang/python/pyversion.mk"
.include "../../net/mDNSResponder/buildlink3.mk"
.include "../../security/openssl/buildlink3.mk"
.include "../../x11/qt5-qtbase/buildlink3.mk"