pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/libappindicator



Module Name:    pkgsrc
Committed By:   nia
Date:           Sun Dec 20 11:38:34 UTC 2020

Modified Files:
        pkgsrc/devel/libappindicator: Makefile

Log Message:
libappindicator: Make python2 dependency build-only.


To generate a diff of this commit:
cvs rdiff -u -r1.24 -r1.25 pkgsrc/devel/libappindicator/Makefile

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

Modified files:

Index: pkgsrc/devel/libappindicator/Makefile
diff -u pkgsrc/devel/libappindicator/Makefile:1.24 pkgsrc/devel/libappindicator/Makefile:1.25
--- pkgsrc/devel/libappindicator/Makefile:1.24  Fri Dec  4 20:45:11 2020
+++ pkgsrc/devel/libappindicator/Makefile       Sun Dec 20 11:38:34 2020
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.24 2020/12/04 20:45:11 nia Exp $
+# $NetBSD: Makefile,v 1.25 2020/12/20 11:38:34 nia Exp $
 
 DISTNAME=      libappindicator-12.10.0
 PKGREVISION=   8
@@ -26,14 +26,19 @@ BUILDLINK_TRANSFORM+=       rm:-Werror
 
 CONFIGURE_ARGS+=       --with-gtk=3
 
-DEPENDS+=      ${PYPKGPREFIX}-gobject3-[0-9]*:../../devel/py-gobject3
-
 PYTHON_VERSIONS_ACCEPTED=      27 # py-gtk2
 
+# When building with GTK3 support, the Python bindings are not ever generated.
+# However, the configure script still refuses to work if a Python 2
+# interpreter is not available... This might be fixed in version control
+# snapshots beyond 12.10.0.
+PYTHON_FOR_BUILD_ONLY=         yes
+
 .include "../../devel/libindicator/buildlink3.mk"
 .include "../../devel/libdbusmenu-gtk3/buildlink3.mk"
 .include "../../sysutils/dbus-glib/buildlink3.mk"
 .include "../../lang/python/extension.mk"
 .include "../../x11/gtk3/buildlink3.mk"
+BUILDLINK_DEPMETHOD.pygtk2=    build
 .include "../../x11/py-gtk2/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index