yabasic: enable pty dependant tests

This commit is contained in:
Duncaen 2025-08-02 22:03:35 +02:00
parent b2518db0d3
commit 48c024f816
No known key found for this signature in database
GPG key ID: 335C1D17EC3D6E35

View file

@ -6,6 +6,7 @@ revision=1
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="libXt-devel ncurses-devel libffi-devel"
checkdepends="tmux"
short_desc="Yet another Basic"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
@ -13,15 +14,6 @@ homepage="https://2484.de/yabasic/"
distfiles="https://2484.de/yabasic/download/yabasic-${version}.tar.gz"
checksum=7dc609c078fe81bb6e7728a87873d7010a21f520a4d513313aa1160371f771d5
post_patch() {
# those test cases use tmux which for some reason can't fdforkpty(3)
vsed \
-e 's;tests/inkey.sh;;' \
-e 's;tests/print-at.sh;;' \
-e 's;tests/run_in_script.sh;;' \
-i Makefile.in
}
do_install() {
vbin yabasic
vman yabasic.1