pkgsrc/devel/glib2/options.mk
reed a8bf5c84a3 Increase build dependency of gtk-doc for the kqueue configuration.
With older version 1.11nb1, it had many failures during automake.
Noticed that this newer version allowed the configuration and build
to complete.
2012-05-31 04:58:34 +00:00

32 lines
1,012 B
Makefile

# $NetBSD: options.mk,v 1.17 2012/05/31 04:58:34 reed Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.glib2
PKG_SUPPORTED_OPTIONS= kqueue
PKG_SUGGESTED_OPTIONS= # empty
# We really should be doing this by default. However, the kqueue patch is not
# official, needs some more testing and, due to the way it is written, forces
# us to run autoconf. If the code gets integrated upstream, there is no reason
# for us to provide a 'kqueue' option here and it should just go away.
#
#.if exists(/usr/include/sys/event.h)
#PKG_SUGGESTED_OPTIONS+= kqueue
#.endif
.include "../../mk/bsd.prefs.mk"
.include "../../mk/bsd.options.mk"
.if $(PKG_OPTIONS:Mkqueue)
PATCH_SITES= http://distfiles.bsdfrog.org/
PATCHFILES= glib-gio-kqueue-2.32.1-v1.patch
PATCH_DIST_STRIP= -p0
BUILD_DEPENDS+= gtk-doc>=1.17nb1:../../textproc/gtk-doc
USE_TOOLS+= autoconf autoheader automake
pre-configure: regen-autotools
regen-autotools:
cd ${WRKSRC} && aclocal
cd ${WRKSRC} && automake
cd ${WRKSRC} && autoheader
cd ${WRKSRC} && autoconf
.endif