pkgsrc/devel/GConf/Makefile.common
obache 0f20985595 Remove build dependency on gtk-doc, related to PR#41475.
It comes from upstream Bug#562310:
http://bugzilla.gnome.org/show_bug.cgi?id=562310
Availability detection of `gtkdoc-rebase' command is depend on the behaviour
of `which' command,  if `which gtkdoc-rebase' return false, do nothing.
It is known as not works as expected on Darwin and Solaris, then failed in
unwanted gtkdoc-rebase execution, and abort.

It is already fixed in upstream gtk-doc repository, but not released yet(1.12?).
So, some packages may contain and be using un-fixed gtk-doc.* files.

For easy to determine whether it is fixed or not, check gtk-doc.make contains
following commit (not using 'which gtkdoc-rebase', but $(GTKDOC_REBASE) macro):

http://git.gnome.org./cgit/gtk-doc/commit/?id=ef5f56ca5fd4a077e6f7a374e8dd333b7a6a8d42
2009-06-03 12:40:32 +00:00

45 lines
1.2 KiB
Makefile

# $NetBSD: Makefile.common,v 1.10 2009/06/03 12:40:32 obache Exp $
#
# used by devel/GConf/Makefile
# used by devel/GConf-ui/Makefile
GCONF_VERSION= 2.26.2
DISTNAME= GConf-${GCONF_VERSION}
CATEGORIES= devel gnome
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/GConf/2.26/}
EXTRACT_SUFX= .tar.bz2
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.gnome.org/projects/gconf/
COMMENT= Configuration database system used by GNOME
LICENSE= gnu-lgpl-v2
PKG_DESTDIR_SUPPORT= user-destdir
# not ready yet. .schemas are installed in the depot.
#PKG_INSTALLATION_TYPES= overwrite pkgviews
DISTINFO_FILE= ${.CURDIR}/../GConf/distinfo
FILESDIR= ${.CURDIR}/../GConf/files
PATCHDIR= ${.CURDIR}/../GConf/patches
USE_PKGLOCALEDIR= yes
GNU_CONFIGURE= yes
USE_LIBTOOL= yes
USE_TOOLS+= gmake intltool msgfmt perl pkg-config
PKGCONFIG_OVERRIDE= gconf-2.0.pc.in
PKG_SYSCONFSUBDIR= gconf
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q}
CONFIGURE_ARGS+= --with-sysconfsubdir=
CONFIGURE_ARGS+= --enable-gconf-source=xml::${PKG_SYSCONFDIR}/gconf.xml.defaults
# Workaround for Upstream Bug#562310.
# for more detail, see also PR#41475.
TOOLS_NOOP+= gtkdoc-rebase
BUILDLINK_API_DEPENDS.glib2+= glib2>=2.10.0
.include "../../devel/glib2/buildlink3.mk"