socat: use different termios bits for ppc
This commit is contained in:
parent
e02dbd21c4
commit
e469c87c1f
|
@ -1,15 +1,13 @@
|
|||
# Template file for 'socat'
|
||||
pkgname=socat
|
||||
version=1.7.3.3
|
||||
revision=2
|
||||
revision=3
|
||||
build_style=gnu-configure
|
||||
configure_args="--disable-libwrap --enable-fips
|
||||
ac_cv_have_z_modifier=yes sc_cv_sys_crdly_shift=9
|
||||
sc_cv_sys_tabdly_shift=11 sc_cv_sys_csize_shift=4
|
||||
ac_cv_ispeed_offset=13"
|
||||
ac_cv_have_z_modifier=yes"
|
||||
makedepends="readline-devel libressl-devel"
|
||||
short_desc="Relay for bidirectional data transfer between two independent channels"
|
||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||
maintainer="q66 <daniel@octaforge.org>"
|
||||
license="GPL-2.0-only"
|
||||
homepage="http://www.dest-unreach.org/socat/"
|
||||
distfiles="http://www.dest-unreach.org/socat/download/socat-${version}.tar.bz2"
|
||||
|
@ -18,3 +16,20 @@ checksum=0dd63ffe498168a4aac41d307594c5076ff307aa0ac04b141f8f1cec6594d04a
|
|||
case "$XBPS_TARGET_MACHINE" in
|
||||
*-musl) CFLAGS="-D_LINUX_IF_ETHER_H";;
|
||||
esac
|
||||
|
||||
case "$XBPS_TARGET_MACHINE" in
|
||||
ppc*)
|
||||
configure_args+="
|
||||
sc_cv_sys_crdly_shift=12
|
||||
sc_cv_sys_tabdly_shift=10
|
||||
sc_cv_sys_csize_shift=8"
|
||||
;;
|
||||
*)
|
||||
configure_args+="
|
||||
sc_cv_sys_crdly_shift=9
|
||||
sc_cv_sys_tabdly_shift=11
|
||||
sc_cv_sys_csize_shift=4"
|
||||
;;
|
||||
esac
|
||||
|
||||
configure_args+=" ac_cv_ispeed_offset=13"
|
||||
|
|
Loading…
Reference in New Issue