From 1d792e94d0182204597cc1ae0f7aa3bf334500ae Mon Sep 17 00:00:00 2001 From: oreo639 Date: Wed, 30 Aug 2023 13:14:02 -0700 Subject: [PATCH] bacula-common: rebuild for libxcrypt --- srcpkgs/bacula-common/template | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/srcpkgs/bacula-common/template b/srcpkgs/bacula-common/template index b3064e54bd4..552d238e8f3 100644 --- a/srcpkgs/bacula-common/template +++ b/srcpkgs/bacula-common/template @@ -1,7 +1,7 @@ # Template file for 'bacula-common' pkgname=bacula-common version=9.4.2 -revision=6 +revision=7 build_style=gnu-configure configure_args="--with-openssl --with-sqlite3 --with-mysql --with-postgresql --enable-smartalloc --sysconfdir=/etc/bacula @@ -17,6 +17,10 @@ checksum=a40d04d2c48135972cecb6578405e835c4b9d798c0950017de0fad40ca94e8a0 alternatives="bacula-db-backend:/usr/lib/libbaccats-${version}.so:/usr/lib/libbaccats-sqlite3-${version}.so" shlib_provides="libbaccats-${version}.so" +if [ "$XBPS_TARGET_LIBC" = "glibc" ]; then + makedepends+=" libxcrypt-devel" +fi + CFLAGS="-Wno-narrowing" post_install() {