From be574387b6808d39a64999aa6401928a58943948 Mon Sep 17 00:00:00 2001 From: oreo639 Date: Wed, 30 Aug 2023 13:37:29 -0700 Subject: [PATCH] hiawatha: rebuild for libxcrypt --- srcpkgs/hiawatha/template | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/srcpkgs/hiawatha/template b/srcpkgs/hiawatha/template index 9c2500430dc..ca3c57ef565 100644 --- a/srcpkgs/hiawatha/template +++ b/srcpkgs/hiawatha/template @@ -1,7 +1,7 @@ # Template file for 'hiawatha' pkgname=hiawatha version=10.12 -revision=4 +revision=5 build_style=cmake configure_args="-DLOG_DIR=/var/log/hiawatha -DPID_DIR=/run -DWEBROOT_DIR=/srv/www/$pkgname -DWORK_DIR=/var/lib/hiawatha @@ -17,6 +17,10 @@ checksum=61bf41146c51244769984135529fcffd0f6cb92be18dc12d460effc42f19f50d conf_files="/etc/${pkgname}/*.conf /etc/${pkgname}/*.xslt" make_dirs="/var/log/hiawatha 0755 root root" +if [ "$XBPS_TARGET_LIBC" = "glibc" ]; then + makedepends+=" libxcrypt-devel" +fi + XBPS_DISTFILES_MIRROR+=" https://hiawatha-webserver.org/files/hiawatha-${version%%.*}/" post_install() {