pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/sysutils/gnome-vfs gnome-vfs configure fails to comple...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9c15847b2da5
branches:  trunk
changeset: 545848:9c15847b2da5
user:      dsainty <dsainty%pkgsrc.org@localhost>
date:      Fri Aug 15 01:41:42 2008 +0000

description:
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.

diffstat:

 sysutils/gnome-vfs/Makefile        |  3 +--
 sysutils/gnome-vfs/Makefile.common |  3 ++-
 2 files changed, 3 insertions(+), 3 deletions(-)

diffs (34 lines):

diff -r 486ab150925e -r 9c15847b2da5 sysutils/gnome-vfs/Makefile
--- a/sysutils/gnome-vfs/Makefile       Thu Aug 14 20:39:37 2008 +0000
+++ b/sysutils/gnome-vfs/Makefile       Fri Aug 15 01:41:42 2008 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.69 2008/05/05 10:59:55 drochner Exp $
+# $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
@@ -29,7 +29,6 @@
 
 .include "../../devel/GConf/schemas.mk"
 
-.include "../../archivers/bzip2/buildlink3.mk"
 .include "../../devel/gettext-lib/buildlink3.mk"
 .include "../../devel/zlib/buildlink3.mk"
 
diff -r 486ab150925e -r 9c15847b2da5 sysutils/gnome-vfs/Makefile.common
--- a/sysutils/gnome-vfs/Makefile.common        Thu Aug 14 20:39:37 2008 +0000
+++ b/sysutils/gnome-vfs/Makefile.common        Fri Aug 15 01:41:42 2008 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.10 2008/06/20 01:09:35 joerg Exp $
+# $NetBSD: Makefile.common,v 1.11 2008/08/15 01:41:42 dsainty Exp $
 #
 
 GNOME_VFS_VERSION=     2.22.0
@@ -125,6 +125,7 @@
                        ${DESTDIR}${PREFIX}/lib/gnome-vfs-2.0/modules
 .endif
 
+.include "../../archivers/bzip2/buildlink3.mk"
 .include "../../devel/GConf/buildlink3.mk"
 .include "../../devel/glib2/buildlink3.mk"
 .include "../../security/gnutls/buildlink3.mk"



Home | Main Index | Thread Index | Old Index