]> granicus.if.org Git - pdns/commitdiff
Fix build dependencies for Ubuntu Yakkety
authorPieter Lexis <pieter.lexis@powerdns.com>
Fri, 14 Oct 2016 05:42:39 +0000 (07:42 +0200)
committerPieter Lexis <pieter.lexis@powerdns.com>
Fri, 14 Oct 2016 05:42:39 +0000 (07:42 +0200)
libzmq-dev has been renamed to libzmq3-dev

build-scripts/build-auth-debian

index e9448df2bb2bc04659bc6a3bf0d23f6a74b156cd..d455b59650892ab8de0a1167840f953052415254 100755 (executable)
@@ -43,8 +43,13 @@ PDNS_VERSION=$VERSION
 export ID="${ID}"
 export VERSION_ID="${VERSION_ID}"
 
-if [ ${ID} = "ubuntu" -a ${VERSION_ID} = "14.04" ]; then
-  sed -i '/lib\/systemd\/system\/pdns@\?\.service/d' debian/pdns-server.install
+if [ ${ID} = "ubuntu" ]; then
+  if [ ${VERSION_ID} = "14.04" ]; then
+    sed -i '/lib\/systemd\/system\/pdns@\?\.service/d' debian/pdns-server.install
+  fi
+  if [ $VERSION_ID} = "16.10" ];then
+    sed -i 's!libzmq-dev!libzmq3-dev!' debian/control.in
+  fi
 fi
 
 fakeroot debian/rules debian/control