aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2021-11-09 02:00:04 +0100
committerJakub Jirutka <jakub@jirutka.cz>2021-11-12 01:49:33 +0100
commit4f41e05ffcf1fc8699610ee21dea83fba11c69f4 (patch)
treee6b2e18145edf18583e2c8412c3e66ad0008f3f2
parent9b1bceaab70f483bd7808355d5beebb9964e4285 (diff)
downloadaports-4f41e05ffcf1fc8699610ee21dea83fba11c69f4.tar.gz
aports-4f41e05ffcf1fc8699610ee21dea83fba11c69f4.tar.bz2
aports-4f41e05ffcf1fc8699610ee21dea83fba11c69f4.tar.xz
community/postgresql-pllua: rebuild against postgresql14
-rw-r--r--community/postgresql-pllua/APKBUILD7
1 files changed, 4 insertions, 3 deletions
diff --git a/community/postgresql-pllua/APKBUILD b/community/postgresql-pllua/APKBUILD
index c17db2d494..34b7d1e31b 100644
--- a/community/postgresql-pllua/APKBUILD
+++ b/community/postgresql-pllua/APKBUILD
@@ -4,15 +4,14 @@
pkgname=postgresql-pllua
pkgver=2.0.10
_pkgver="REL_${pkgver//./_}"
-pkgrel=1
+pkgrel=2
pkgdesc="Procedural language for PostgreSQL using Lua"
url="https://github.com/RhodiumToad/pllua-ng"
# riscv64: limited by luajit
# s390x: fails to build
arch="all !riscv64 !s390x"
license="MIT"
-depends="postgresql"
-makedepends="postgresql-dev luajit-dev"
+makedepends="postgresql-dev postgresql luajit-dev"
options="!check" # tests require running PostgreSQL
provides="pllua=$pkgver-r$pkgrel" # for backward compatibility
replaces="pllua" # for backward compatibility
@@ -29,6 +28,8 @@ build() {
}
package() {
+ depends="postgresql$(pg_config --major-version)"
+
_make DESTDIR="$pkgdir" install
}