pcc: add missing dependencies

Same as https://github.com/void-linux/void-packages/issues/30630

Close: #34009
This commit is contained in:
Lorenzo Beretta 2021-11-10 13:46:45 +01:00 committed by Đoàn Trần Công Danh
parent 36bc8f8e07
commit 878fff9725

View file

@ -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