[Pkg-mpd-commits] [pkg-mpd] 04/07: Disable smb support on hurd-i386 (closes: #815441)

Florian Schlichting fsfs at moszumanska.debian.org
Tue Feb 23 22:56:07 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 39d30ca148b52fa63fe277021964d41ffc6b0768
Author: Florian Schlichting <fsfs at debian.org>
Date:   Tue Feb 23 23:13:50 2016 +0100

    Disable smb support on hurd-i386 (closes: #815441)
---
 debian/control | 2 +-
 debian/rules   | 8 +++++++-
 2 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/debian/control b/debian/control
index 7f93aad..553e104 100644
--- a/debian/control
+++ b/debian/control
@@ -50,7 +50,7 @@ Build-Depends: debhelper (>= 9),
                libshout3-dev,
                libsidplay2-dev,
                libsidutils-dev,
-               libsmbclient-dev,
+               libsmbclient-dev [!hurd-i386],
                libsndfile1-dev,
                libsoxr-dev,
                libsqlite3-dev,
diff --git a/debian/rules b/debian/rules
index 9f49e04..ff8c7c6 100755
--- a/debian/rules
+++ b/debian/rules
@@ -30,6 +30,12 @@ WITH_SYSTEMD=--disable-systemd --disable-alsa
 CP_SYSTEMD_UNIT=echo "no systemd, not copying systemd .service file"
 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)
@@ -43,7 +49,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