pkgsrc-Changes archive

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

CVS commit: pkgsrc/chat/hexchat



Module Name:    pkgsrc
Committed By:   gutteridge
Date:           Tue Apr 20 00:48:02 UTC 2021

Modified Files:
        pkgsrc/chat/hexchat: Makefile

Log Message:
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.)


To generate a diff of this commit:
cvs rdiff -u -r1.50 -r1.51 pkgsrc/chat/hexchat/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/chat/hexchat/Makefile
diff -u pkgsrc/chat/hexchat/Makefile:1.50 pkgsrc/chat/hexchat/Makefile:1.51
--- pkgsrc/chat/hexchat/Makefile:1.50   Mon Apr 19 13:51:17 2021
+++ pkgsrc/chat/hexchat/Makefile        Tue Apr 20 00:48:02 2021
@@ -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 @@ LICENSE=      gnu-gpl-v2 AND gnu-lgpl-v2.1 AN
 
 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 @@ PKGCONFIG_OVERRIDE+=  data/pkgconfig/hexc
 .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