pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/chat/hexchat hexchat: fix Python plugin-enabled builds



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1a6acf0edf9a
branches:  trunk
changeset: 450580:1a6acf0edf9a
user:      gutteridge <gutteridge%pkgsrc.org@localhost>
date:      Tue Apr 20 00:48:02 2021 +0000

description:
hexchat: fix Python plugin-enabled builds

Whether Python is required strictly as a build tool or also at runtime
is determined in options.mk, and PYTHON_FOR_BUILD_ONLY is set there, if
needed. (And pyversion.mk is included via tool.mk now.)

diffstat:

 chat/hexchat/Makefile |  9 ++++-----
 1 files changed, 4 insertions(+), 5 deletions(-)

diffs (30 lines):

diff -r 6e8ad9b6de77 -r 1a6acf0edf9a chat/hexchat/Makefile
--- a/chat/hexchat/Makefile     Mon Apr 19 20:08:02 2021 +0000
+++ b/chat/hexchat/Makefile     Tue Apr 20 00:48:02 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.50 2021/04/19 13:51:17 pgoyette Exp $
+# $NetBSD: Makefile,v 1.51 2021/04/20 00:48:02 gutteridge Exp $
 
 DISTNAME=      hexchat-2.14.3
 PKGREVISION=   7
@@ -13,9 +13,6 @@
 
 USE_TOOLS+=    pkg-config msgfmt xgettext
 
-PYTHON_FOR_BUILD_ONLY=    tool
-.include "../../lang/python/tool.mk"
-
 USE_LANGUAGES= c c++
 
 # XXX fails without GNU msgfmt
@@ -41,7 +38,9 @@
 .include "../../converters/libiconv/buildlink3.mk"
 .include "../../devel/glib2/buildlink3.mk"
 .include "../../devel/pango/buildlink3.mk"
-.include "../../lang/python/pyversion.mk"
+# Whether Python is required strictly as a build tool or also at runtime is
+# determined in options.mk, and PYTHON_FOR_BUILD_ONLY is set there, if needed.
+.include "../../lang/python/tool.mk"
 .include "../../textproc/iso-codes/buildlink3.mk"
 .include "../../textproc/libxml2/buildlink3.mk"
 .include "../../mk/dlopen.buildlink3.mk"



Home | Main Index | Thread Index | Old Index