pkgsrc/sysutils/gnome-vfs/Makefile
dsainty 4a4e8f4c95 gnome-vfs configure fails to complete in extension modules in the absence of
"bzlib.h".  Environments without a system-installed "bzlib.h" will fail to
build modules like "audio/gnome-vfs-cdda" with the following:

checking for bzCompressInit in -lbz2... no
checking bzlib.h usability... no
checking bzlib.h presence... no
checking for bzlib.h... no
configure: error: Gnome-vfs requires libbz2 to compile.
*** Error code 1

To fix this, promote bzip2 dependency from gnome-vfs/Makefile to
gnome-vfs/Makefile.common.

XXX Only /usr/pkg/lib/gnome-vfs-2.0/modules/libbzip2.so actually appears to
link with libbz2.so, so it's possible that configure is being overly picky.
2008-08-15 01:41:42 +00:00

36 lines
905 B
Makefile

# $NetBSD: Makefile,v 1.70 2008/08/15 01:41:42 dsainty Exp $
PKGCONFIG_OVERRIDE= gnome-vfs-2.0.pc.in
PKGCONFIG_OVERRIDE+= gnome-vfs-module-2.0.pc.in
OWN_DIRS= ${PKG_SYSCONFDIR}/modules
EGFILES+= modules/default-modules.conf
EGFILES+= modules/ssl-modules.conf
GCONF_SCHEMAS= desktop_default_applications.schemas
GCONF_SCHEMAS+= desktop_gnome_url_handlers.schemas
GCONF_SCHEMAS+= system_dns_sd.schemas
GCONF_SCHEMAS+= system_http_proxy.schemas
GCONF_SCHEMAS+= system_smb.schemas
LDFLAGS.Darwin+= -lresolv
BUILDLINK_API_DEPENDS.glib2+= glib2>=2.9.3
PKG_DESTDIR_SUPPORT= user-destdir
MAKE_JOBS_SAFE= no
.include "Makefile.common"
CONFIGURE_ARGS+= --enable-fam
CONFLICTS+= gnome-vfs2-[0-9]*
.include "../../devel/GConf/schemas.mk"
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
.include "../../mk/fam.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"