pcc: add missing dependencies
Same as https://github.com/void-linux/void-packages/issues/30630 Close: #34009
This commit is contained in:
parent
36bc8f8e07
commit
878fff9725
1 changed files with 5 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'pcc'
|
# Template file for 'pcc'
|
||||||
pkgname=pcc
|
pkgname=pcc
|
||||||
version=1.1.0.20190420
|
version=1.1.0.20190420
|
||||||
revision=3
|
revision=4
|
||||||
_distver="${version%.*}"
|
_distver="${version%.*}"
|
||||||
_snapshot="${version##*.}"
|
_snapshot="${version##*.}"
|
||||||
archs="i686* x86_64*"
|
archs="i686* x86_64*"
|
||||||
|
@ -21,6 +21,10 @@ checksum="a114dfca04b8b0559ea5d67b87d2d0fcb2bae2b4d9b9ba16ebc27960b921c812
|
||||||
nocross=yes
|
nocross=yes
|
||||||
|
|
||||||
CFLAGS="-fcommon"
|
CFLAGS="-fcommon"
|
||||||
|
case "$XBPS_TARGET_LIBC" in
|
||||||
|
musl) depends+=" musl-devel";;
|
||||||
|
*) depends+=" glibc-devel";;
|
||||||
|
esac
|
||||||
|
|
||||||
post_extract() {
|
post_extract() {
|
||||||
mv pcc-${_distver}.BETA pcc
|
mv pcc-${_distver}.BETA pcc
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue