From 878fff972588b358ad952994491d97c81fe54672 Mon Sep 17 00:00:00 2001 From: Lorenzo Beretta Date: Wed, 10 Nov 2021 13:46:45 +0100 Subject: [PATCH] pcc: add missing dependencies Same as https://github.com/void-linux/void-packages/issues/30630 Close: #34009 --- srcpkgs/pcc/template | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/srcpkgs/pcc/template b/srcpkgs/pcc/template index 8d6b4748b8..a51da962f4 100644 --- a/srcpkgs/pcc/template +++ b/srcpkgs/pcc/template @@ -1,7 +1,7 @@ # Template file for 'pcc' pkgname=pcc version=1.1.0.20190420 -revision=3 +revision=4 _distver="${version%.*}" _snapshot="${version##*.}" archs="i686* x86_64*" @@ -21,6 +21,10 @@ checksum="a114dfca04b8b0559ea5d67b87d2d0fcb2bae2b4d9b9ba16ebc27960b921c812 nocross=yes CFLAGS="-fcommon" +case "$XBPS_TARGET_LIBC" in + musl) depends+=" musl-devel";; + *) depends+=" glibc-devel";; +esac post_extract() { mv pcc-${_distver}.BETA pcc