[Pkg-mpd-commits] [pkg-mpd] 06/13: Disable smb support on hurd-i386

Florian Schlichting fsfs at moszumanska.debian.org
Tue Dec 13 20:46:09 UTC 2016


This is an automated email from the git hooks/post-receive script.

fsfs pushed a commit to branch master
in repository pkg-mpd.

commit 6222ea69a439ef14e3812cf073bda4aa71c3f5f2
Author: Florian Schlichting <fsfs at debian.org>
Date:   Mon Sep 12 23:14:49 2016 +0200

    Disable smb support on hurd-i386
    
    And re-add it to the list of allowed architectures
---
 debian/control | 4 ++--
 debian/rules   | 8 +++++++-
 2 files changed, 9 insertions(+), 3 deletions(-)

diff --git a/debian/control b/debian/control
index a6397e2..3e0ab50 100644
--- a/debian/control
+++ b/debian/control
@@ -50,7 +50,7 @@ Build-Depends: debhelper (>= 9),
                libshout3-dev,
                libsidplayfp-dev,
                libsidutils-dev,
-               libsmbclient-dev,
+               libsmbclient-dev [!hurd-i386],
                libsndfile1-dev,
                libsoxr-dev,
                libsqlite3-dev,
@@ -70,7 +70,7 @@ Vcs-Browser: https://anonscm.debian.org/cgit/pkg-mpd/pkg-mpd.git
 Vcs-Git: https://anonscm.debian.org/git/pkg-mpd/pkg-mpd.git
 
 Package: mpd
-Architecture: linux-any kfreebsd-any
+Architecture: any
 Depends: adduser, lsb-base, ${misc:Depends}, ${shlibs:Depends}
 Suggests: avahi-daemon, icecast2, mpd-client, pulseaudio
 Breaks: avahi-daemon (<< 0.6.31-3)
diff --git a/debian/rules b/debian/rules
index 092ac98..8032b6c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -19,6 +19,12 @@ else
 WITH_SYSTEMD=--disable-systemd --disable-alsa
 endif
 
+# no smbclient on hurd-i386 (#815441)
+ENABLE_SMBCLIENT=--enable-smbclient
+ifeq ($(DEB_HOST_ARCH), hurd-i386)
+    ENABLE_SMBCLIENT=--disable-smbclient
+endif
+
 
 ###############################################################
 ## Define Debian feature set (in configure summary order)
@@ -33,7 +39,7 @@ ENABLE_ARCHIVES=--enable-bzip2 \
 # Autodiscovery support
 ENABLE_AUTODISCOVERY=--enable-neighbor-plugins \
 		     --enable-nfs \
-		     --enable-smbclient \
+		     ${ENABLE_SMBCLIENT} \
 		     --enable-upnp \
 		     --with-zeroconf=avahi
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mpd/pkg-mpd.git



More information about the Pkg-mpd-commits mailing list