aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--testing/postgresql-timescaledb/APKBUILD7
-rw-r--r--testing/postgresql-timescaledb/dont-use-git-describe.patch15
2 files changed, 20 insertions, 2 deletions
diff --git a/testing/postgresql-timescaledb/APKBUILD b/testing/postgresql-timescaledb/APKBUILD
index 24c556dce0..4a384f6616 100644
--- a/testing/postgresql-timescaledb/APKBUILD
+++ b/testing/postgresql-timescaledb/APKBUILD
@@ -10,7 +10,9 @@ arch="all"
license="Apache-2.0"
provides="timescaledb=$pkgver-r$pkgrel" # for backward compatibility
makedepends="postgresql-dev cmake bash"
-source="https://github.com/timescale/timescaledb/archive/$pkgver/$pkgname-$pkgver.tar.gz"
+source="https://github.com/timescale/timescaledb/archive/$pkgver/$pkgname-$pkgver.tar.gz
+ dont-use-git-describe.patch
+ "
builddir="$srcdir/$_projname-$pkgver"
options="!check" # FIXME: see comment on REGRESS_CHECKS=OFF below
@@ -38,4 +40,5 @@ package() {
make -C build install DESTDIR="$pkgdir"
}
-sha512sums="53fddb9fe4c4ab51ebc020e90eea5b032b41259d3bd45e8a03a86451acd7f8864b5a6ecba1b82b7c78e230f62cfddf1da75ff27e6629ad5fe8178839ac411ce4 postgresql-timescaledb-2.1.0.tar.gz"
+sha512sums="53fddb9fe4c4ab51ebc020e90eea5b032b41259d3bd45e8a03a86451acd7f8864b5a6ecba1b82b7c78e230f62cfddf1da75ff27e6629ad5fe8178839ac411ce4 postgresql-timescaledb-2.1.0.tar.gz
+7daf0c9a3dbf3da874ea3bae7031b23332147116794e6c629764e77abf9ba8b42fdc06a61c8aeb285bdc232a64c71dfc5360e28d8524db9cb6f99930a2b14d1f dont-use-git-describe.patch"
diff --git a/testing/postgresql-timescaledb/dont-use-git-describe.patch b/testing/postgresql-timescaledb/dont-use-git-describe.patch
new file mode 100644
index 0000000000..596eaa72a7
--- /dev/null
+++ b/testing/postgresql-timescaledb/dont-use-git-describe.patch
@@ -0,0 +1,15 @@
+We are in git repository, but not in the timescaledb's repository.
+
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -198,9 +198,7 @@
+ message(FATAL_ERROR "Unable to find 'pg_config'")
+ endif ()
+
+-find_package(Git)
+-
+-if(GIT_FOUND)
++if(FALSE)
+ # We use "git describe" to generate the tag. It will find the latest
+ # tag and also add some additional information if we are not on the
+ # tag.