Hi, here is a slighty different version of this patch, which I tried to make as non-intrusive as possible. It has been checked on both kfreebsd-i386 and i386, without breaking anything on Linux (according to build log and debdiff).
Cheers, -- Cyril Brulebois
--- gdm-2.14.5~/debian/control 2006-09-22 20:17:01.000000000 +0200 +++ gdm-2.14.5/debian/control 2006-09-22 20:17:22.000000000 +0200 @@ -2,7 +2,7 @@ Section: gnome Priority: optional Maintainer: Ryan Murray <[EMAIL PROTECTED]> -Build-Depends: libpam0g-dev, libgnomeui-dev, librsvg2-dev, libglade2-dev, libwrap0-dev, debhelper, gettext, intltool, scrollkeeper, libselinux1-dev [!hurd-i386], libattr1-dev, libxau-dev, libxt-dev, libxdmcp-dev, libxinerama-dev, libdmx-dev, gnome-doc-utils +Build-Depends: libpam0g-dev, libgnomeui-dev, librsvg2-dev, libglade2-dev, libwrap0-dev, debhelper, gettext, intltool, scrollkeeper, libselinux1-dev [!hurd-i386 !kfreebsd-i386 !kfreebsd-amd64], libattr1-dev, libxau-dev, libxt-dev, libxdmcp-dev, libxinerama-dev, libdmx-dev, gnome-doc-utils Standards-Version: 3.6.2 Package: gdm --- gdm-2.14.5~/debian/rules 2006-09-22 20:17:01.000000000 +0200 +++ gdm-2.14.5/debian/rules 2006-09-22 20:17:59.000000000 +0200 @@ -8,10 +8,16 @@ # This is the debhelper compatability version to use. export DH_COMPAT=4 +ifneq (,$(findstring $(DEB_HOST_ARCH_OS), kfreebsd hurd)) + SELINUX_CONFIGURE = --without-selinux +else + SELINUX_CONFIGURE = --with-selinux +endif + configure: configure-stamp configure-stamp: dh_testdir - ./configure --disable-dependency-tracking --with-tags= --prefix=/usr --libexecdir=\$${prefix}/lib --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info --sysconfdir=/etc --libexecdir=\$${prefix}/lib/gdm --localstatedir=/var/lib --with-selinux --with-custom-conf=/etc/gdm/gdm.conf + ./configure --disable-dependency-tracking --with-tags= --prefix=/usr --libexecdir=\$${prefix}/lib --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info --sysconfdir=/etc --libexecdir=\$${prefix}/lib/gdm --localstatedir=/var/lib $(SELINUX_CONFIGURE) --with-custom-conf=/etc/gdm/gdm.conf touch configure-stamp build: configure-stamp build-stamp
pgp1EvRJyKhSm.pgp
Description: PGP signature