pkgsrc/devel/glib2-tools/Makefile
prlw1 2044561433 Update glib2 to 2.66.4
Overview of changes in GLib 2.66.4
==================================

* Fix some issues in parsing floating point seconds in `GDateTime`
  (!1791, !1797)

* Fix some issues in handling invalid UTF-8 when parsing for `GDate` (!1788)

* Bugs fixed:
 - #2264 GPtrArray might call qsort() with NULL data
 - Backport !1771 macos: fix frexpl checks in cross-compilation to glib-2-66
 - Backport !1788 gdate: Validate input as UTF-8 before parsing to glib-2-66
 - Backport !1791 gdatetime: Disallow NAN as a number of seconds in a GDateTime to glib-2-66
 - Backport !1794 gio-tool-info: Prevent criticals if mount options are not available to glib-2-66
 - Backport !1797 gdatetime: Improve ISO 8601 parsing to avoid floating point checks to glib-2-66
2020-12-20 11:06:40 +00:00

33 lines
769 B
Makefile

# $NetBSD: Makefile,v 1.9 2020/12/20 11:06:40 prlw1 Exp $
.include "../../devel/glib2/Makefile.common"
PKGNAME:= ${PKGNAME:S/glib2/glib2-tools/}
CATEGORIES= devel gnome
COMMENT= GLib2/gobject python-dependent tools
DISTINFO_FILE= ${.CURDIR}/../../devel/glib2/distinfo
PATCHDIR= ${.CURDIR}/../../devel/glib2/patches
NO_BUILD= yes
PYSCRIPTS= glib-genmarshal glib-mkenums
INSTALLATION_DIRS= bin
do-configure:
.for f in ${PYSCRIPTS}
cd ${WRKSRC}/gobject \
&& ${SED} \
-e "s,/usr/bin/env ,," \
-e "s,@PYTHON@,${PYTHONBIN}," \
-e "s,@VERSION@,${PKGVERSION}," \
${f}.in > ${f}
.endfor
do-install:
cd ${WRKSRC}/gobject \
&& ${INSTALL_SCRIPT} ${PYSCRIPTS} ${DESTDIR}${PREFIX}/bin
.include "../../lang/python/application.mk"
.include "../../mk/bsd.pkg.mk"