postgis needs postgresql-9.6
authorChristoph Berg <myon@debian.org>
Sun, 15 May 2016 07:55:44 +0000 (09:55 +0200)
committerChristoph Berg <myon@debian.org>
Sun, 15 May 2016 07:55:44 +0000 (09:55 +0200)
jenkins/sbuild-package

index 21964bc56e1b7f9b000e3246f372246a3fd1a77a..553eee56051b7977cde9f66ad9b4977c27dac145 100755 (executable)
@@ -91,7 +91,12 @@ export DEB_BUILD_OPTIONS="parallel=1"
 export DEB_PG_SUPPORTED_VERSIONS
 
 if [ "$DEB_PG_SUPPORTED_VERSIONS" != "pgdg" ]; then
+  # extra build dependencies
   ADD_DEPENDS="--add-depends=postgresql-server-dev-$DEB_PG_SUPPORTED_VERSIONS --chroot-setup-commands=sbuild-pgdg-components"
+  case $PACKAGE in
+    postgis)
+      ADD_DEPENDS="$ADD_DEPENDS --add-depends=postgresql-$DEB_PG_SUPPORTED_VERSIONS" ;;
+  esac
 fi
 
 # prepare temp file for adt-run results