Bug#494312: epiphany-browser: FTBFS on GNU/kFreeBSD (due to unsatisfied Build-Depends on network-manager-dev)

Petr Salinger Petr.Salinger at seznam.cz
Fri Aug 8 13:19:57 UTC 2008


Package: epiphany-browser
Severity: important
Version: 2.22.3-1
Tags: patch
User: glibc-bsd-devel at lists.alioth.debian.org
Usertags: kfreebsd

Hi,

the current version has unsatisfied Build-Depends on network-manager-dev
under non-linux ports.

Please, could you exclude linux specific package by attached patch.

Thanks for your cooperation.

                                 Petr
-------------- next part --------------
diff -u epiphany-browser-2.22.3/debian/rules epiphany-browser-2.22.3/debian/rules
--- epiphany-browser-2.22.3/debian/rules
+++ epiphany-browser-2.22.3/debian/rules
@@ -30,8 +30,11 @@
 		--enable-dbus \
 		--disable-scrollkeeper \
 		--enable-zeroconf \
-		--enable-python \
-		--enable-network-manager
+		--enable-python
+
+ifeq ($(DEB_HOST_ARCH_OS),linux)
+	common_configure_flags += --enable-network-manager
+endif
 
 ifeq ($(DEB_BUILD_GNU_TYPE),$(DEB_HOST_GNU_TYPE))
 	common_configure_flags += --build=$(DEB_BUILD_GNU_TYPE)
diff -u epiphany-browser-2.22.3/debian/control.in epiphany-browser-2.22.3/debian/control.in
--- epiphany-browser-2.22.3/debian/control.in
+++ epiphany-browser-2.22.3/debian/control.in
@@ -28,7 +28,7 @@
                gnome-doc-utils (>= 0.3.2),
                intltool (>= 0.35.0),
                x11proto-core-dev,
-               network-manager-dev,
+               network-manager-dev [!hurd-i386 !kfreebsd-i386 !kfreebsd-amd64],
                quilt,
                libenchant-dev (>= 1.0),
                libavahi-gobject-dev (>= 0.6.22),
diff -u epiphany-browser-2.22.3/debian/control epiphany-browser-2.22.3/debian/control
--- epiphany-browser-2.22.3/debian/control
+++ epiphany-browser-2.22.3/debian/control
@@ -28,7 +28,7 @@
                gnome-doc-utils (>= 0.3.2),
                intltool (>= 0.35.0),
                x11proto-core-dev,
-               network-manager-dev,
+               network-manager-dev [!hurd-i386 !kfreebsd-i386 !kfreebsd-amd64],
                quilt,
                libenchant-dev (>= 1.0),
                libavahi-gobject-dev (>= 0.6.22),


More information about the pkg-gnome-maintainers mailing list