Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/pkgsrc/devel/glib2/Makefile,v rcsdiff: /ftp/cvs/cvsroot/pkgsrc/devel/glib2/Makefile,v: warning: Unknown phrases like `commitid ...;' are present. retrieving revision 1.228 retrieving revision 1.237 diff -u -p -r1.228 -r1.237 --- pkgsrc/devel/glib2/Makefile 2016/04/07 18:33:05 1.228 +++ pkgsrc/devel/glib2/Makefile 2017/10/16 00:40:08 1.237 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.228 2016/04/07 18:33:05 prlw1 Exp $ +# $NetBSD: Makefile,v 1.237 2017/10/16 00:40:08 prlw1 Exp $ .include "Makefile.common" @@ -27,7 +27,7 @@ FILES_SUBST+= GLIB_SCHEMAS_DIR=${PREFIX # agc doesn't want glib2 to depend on python so we install it # in a broken and useless state. CHECK_INTERPRETER_SKIP+= bin/gtester-report -CHECK_INTERPRETER_SKIP+= bin/gdbus-codegen +CHECK_WRKREF_SKIP+= bin/gtester-report # need pcre utf8 + unicode-properties BUILDLINK_API_DEPENDS.pcre+= pcre>=8.31 @@ -43,7 +43,7 @@ CPPFLAGS.SunOS+= -DBSD_COMP .if ${OBJECT_FMT} == "ELF" . if ${OPSYS} == "SunOS" -. if ${ABI} == 32 +. if empty(ABI:U:M64) # Solaris libelf in 32-bit mode does not support largefile. We patch files # individually to force _FILE_OFFSET_BITS=32 but need to turn back on -lelf # after configure disabled it. @@ -54,6 +54,11 @@ CONFIGURE_ENV+= LIBELF_LIBS='-lelf' . 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"