summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Timo Gurr <tgurr@exherbo.org> 2021-10-21 15:25:17 +0200
committerAvatar Timo Gurr <tgurr@exherbo.org> 2021-10-21 15:25:17 +0200
commit797e2fb9460810c83efb87a6630ab9d87c1fc8ce (patch)
tree85b90686a4a70c4d617726b8a3b5e564d98cf4b2
parent307cd6b17988b243b715220c13864299ecaf3f5e (diff)
downloadarbor-797e2fb9460810c83efb87a6630ab9d87c1fc8ce.tar.gz
arbor-797e2fb9460810c83efb87a6630ab9d87c1fc8ce.tar.xz
postgresql: restrict lz4 dependency to >= 14
-rw-r--r--packages/dev-db/postgresql/postgresql-build.exlib8
1 files changed, 7 insertions, 1 deletions
diff --git a/packages/dev-db/postgresql/postgresql-build.exlib b/packages/dev-db/postgresql/postgresql-build.exlib
index 82d6f2c86..516a466d7 100644
--- a/packages/dev-db/postgresql/postgresql-build.exlib
+++ b/packages/dev-db/postgresql/postgresql-build.exlib
@@ -136,7 +136,6 @@ DEPENDENCIES="
group/postgres
user/postgres
ldap? ( net-directory/openldap )
- lz4? ( app-arch/lz4 )
pam? ( sys-libs/pam )
perl? ( dev-lang/perl:= )
ssl? (
@@ -154,6 +153,13 @@ DEPENDENCIES="
dev-db/postgresql-client
"
+if ever at_least 14; then
+ DEPENDENCIES+="
+ build+run:
+ lz4? ( app-arch/lz4 )
+ "
+fi
+
DEFAULT_SRC_CONFIGURE_OPTION_WITHS=(
# 'kerberos krb5'
ldap pam perl python 'ssl openssl' systemd tcl 'xml libxml' 'xml libxslt'