pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/glib2 glib2: needs python to generate gdbus-daem...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/48dc16bcb522
branches:  trunk
changeset: 370341:48dc16bcb522
user:      prlw1 <prlw1%pkgsrc.org@localhost>
date:      Mon Oct 16 00:40:08 2017 +0000

description:
glib2: needs python to generate gdbus-daemon-generated.{h,c}

All efforts to avoid python dependency have failed.

diffstat:

 devel/glib2/Makefile |  7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diffs (21 lines):

diff -r 9391e748f129 -r 48dc16bcb522 devel/glib2/Makefile
--- a/devel/glib2/Makefile      Sun Oct 15 23:19:10 2017 +0000
+++ b/devel/glib2/Makefile      Mon Oct 16 00:40:08 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.236 2017/10/13 15:35:10 prlw1 Exp $
+# $NetBSD: Makefile,v 1.237 2017/10/16 00:40:08 prlw1 Exp $
 
 .include "Makefile.common"
 
@@ -54,6 +54,11 @@
 .  endif
 .endif
 
+# to run gdbus-codegen to generate gdbus-daemon-generated.{h,c}
+TOOL_DEPENDS+=         ${PYPKGPREFIX}-expat-[0-9]*:../../textproc/py-expat
+PYTHON_FOR_BUILD_ONLY?=        yes
+.include "../../lang/python/pyversion.mk"
+
 .include "../../converters/libiconv/buildlink3.mk"
 .include "../../devel/gettext-lib/buildlink3.mk"
 .include "../../devel/pcre/buildlink3.mk"



Home | Main Index | Thread Index | Old Index