simh: fix glibc cross builds.
This commit is contained in:
parent
d5d07a2bd0
commit
5cada5d9eb
@ -4,8 +4,8 @@ version=3.9
|
||||
revision=1
|
||||
wrksrc=${pkgname}-${version}
|
||||
create_wrksrc=yes
|
||||
hostmakedepends="unzip"
|
||||
makedepends="libpcap-devel SDL-devel"
|
||||
hostmakedepends="libpcap-devel unzip"
|
||||
makedepends="libpcap-devel"
|
||||
short_desc="Emulator for historical computers including PDP-11 and VAX"
|
||||
maintainer="Daniel James <djames@orcadian.net>"
|
||||
license="MIT"
|
||||
@ -19,7 +19,7 @@ do_build() {
|
||||
OS_CCDEFS="$CFLAGS" \
|
||||
OS_LDFLAGS="$LDFLAGS -pthread -lm" \
|
||||
USE_NETWORK=1 \
|
||||
NETWORK_OPT='-DUSE_NETWORK -isystem /usr/include -lpcap'
|
||||
NETWORK_OPT="-DUSE_NETWORK -isystem ${XBPS_CROSS_BASE}/usr/include -lpcap"
|
||||
}
|
||||
do_install() {
|
||||
(
|
||||
|
Loading…
Reference in New Issue
Block a user