From 595d6e6f736609a4d6cae713918fcda5962cf712 Mon Sep 17 00:00:00 2001 From: oreo639 Date: Wed, 30 Aug 2023 14:40:22 -0700 Subject: [PATCH] toybox: rebuild for libxcrypt --- srcpkgs/toybox/template | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/srcpkgs/toybox/template b/srcpkgs/toybox/template index d3b98424103..ec15606c412 100644 --- a/srcpkgs/toybox/template +++ b/srcpkgs/toybox/template @@ -1,7 +1,7 @@ # Template file for 'toybox' pkgname=toybox version=0.8.10 -revision=1 +revision=2 create_wrksrc=yes short_desc="BSD-licensed alternative to busybox" maintainer="Orphaned " @@ -10,6 +10,10 @@ homepage="http://www.landley.net/toybox" distfiles="http://www.landley.net/toybox/downloads/toybox-${version}.tar.gz" checksum=d3afee05ca90bf425ced73f527e418fecd626c5340b5f58711a14531f8d7d108 +if [ "$XBPS_TARGET_LIBC" = "glibc" ]; then + makedepends+=" libxcrypt-devel" +fi + post_extract() { mv toybox-${version} toybox cp -r toybox toybox-static