diff --git a/srcpkgs/simh/template b/srcpkgs/simh/template index 40078c692e9..2e376a21eb5 100644 --- a/srcpkgs/simh/template +++ b/srcpkgs/simh/template @@ -1,9 +1,10 @@ # Template file for 'simh' pkgname=simh -version=3.9 -revision=2 -wrksrc=${pkgname}-${version} +version=3.11 +revision=1 +wrksrc="${pkgname}-${version}" create_wrksrc=yes +build_wrksrc="sim" hostmakedepends="libpcap-devel unzip" makedepends="libpcap-devel" short_desc="Emulator for historical computers including PDP-11 and VAX" @@ -11,7 +12,7 @@ maintainer="Orphaned " license="MIT" homepage="http://simh.trailing-edge.com/" distfiles="http://simh.trailing-edge.com/sources/simhv${version/.}-0.zip" -checksum=e49b259b66ad6311ca9066dee3d3693cd915106a6938a52ed685cdbada8eda3b +checksum=7c96d6b3779e9b50f3847812042aa27b2b3e0787c4ac762b2dc4830a9fb27adc nopie=yes CFLAGS="-fcommon" @@ -19,7 +20,7 @@ CFLAGS="-fcommon" do_build() { mkdir -p BIN make ${makejobs} all \ - OS_CCDEFS="$CFLAGS" \ + OS_CCDEFS="$CFLAGS -D_GNU_SOURCE" \ OS_LDFLAGS="$LDFLAGS -pthread -lm" \ USE_NETWORK=1 \ NETWORK_OPT="-DUSE_NETWORK -isystem ${XBPS_CROSS_BASE}/usr/include -lpcap"