picocom: fix non-musl (close #2741)
This commit is contained in:
parent
decc01bc9c
commit
89bcee4951
2 changed files with 7 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'picocom'
|
||||
pkgname=picocom
|
||||
version=2.0
|
||||
revision=1
|
||||
revision=2
|
||||
short_desc="Minimal dumb-terminal emulation program like minicom"
|
||||
maintainer="allan <mail@may.mooo.com>"
|
||||
license="GPL-2"
|
||||
|
@ -9,6 +9,12 @@ homepage="https://github.com/npat-efault/picocom"
|
|||
distfiles="https://github.com/npat-efault/picocom/archive/${version}.tar.gz"
|
||||
checksum=e0f7095c118f43c1c09787a16ef5c7d4c4ad4457dd3b1281efcc4cdb8906af9a
|
||||
|
||||
pre_configure() {
|
||||
case "$XBPS_TARGET_MACHINE" in
|
||||
*-musl)
|
||||
patch -p0 < ${FILESDIR}/fix-musl.patch
|
||||
esac
|
||||
}
|
||||
do_build() {
|
||||
make CC=$CC CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" ${makejobs}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue