pkgsrc/emulators/hercules4sdl/Makefile
rhialto f90373932e emulators/hercules4sdl: update to 4.4.1.
This release is a *HOT FIX* that corrects a 20 yr. old bug recently
discovered  in Hercules's compressed CKD ("CCKD") dasd emulation logic
negatively impacting certain guests. Refer to the "Release Notes" web
page for important information:

   https://sdl-hercules-390.github.io/html/hercrnot.html#4.4.1


For a list of changes included in this release, refer to the "Summary of
changes" further below or the "What's New" web page at:

   https://sdl-hercules-390.github.io/html/hercnew.html


All BUG REPORTS should be reported via the SDL-Hercules-390 GitHub
"Issues" web page at:

   https://github.com/sdl-hercules-390/hyperion/issues

Questions or concerns should be directed to the main hercules-390 groups.io
group at https://hercules-390.groups.io/g/group


Summary of Changes:
-------------------

  . Implement new Version string format
  . Return fullword #of cylinders in RDC bytes 60-63 (#456)
  . Also show real address for virtual address during instruction tracing
  . Fix possible Hercules crash after resume from suspend (#458)
  . Improved B220 (SERVC) instruction validation (#460)
  . Fix 20 yr. old CCKD compressed dasd bug causing Locate Record to fail (#464)

Please refer to the "Release Notes" web page for important information
regarding this release:

   https://sdl-hercules-390.github.io/html/hercrnot.html#4.4.1
2022-01-08 19:27:58 +00:00

58 lines
1.7 KiB
Makefile

# $NetBSD: Makefile,v 1.7 2022/01/08 19:27:58 rhialto Exp $
PKGNAME= hercules4sdl-4.4.1
PKGREVISION= 1
DISTNAME= hyperion-Release_${PKGVERSION_NOREV}
CATEGORIES= emulators
MASTER_SITES= ${MASTER_SITE_GITHUB:=SDL-Hercules-390/}
EXTRACT_USING= bsdtar
MAINTAINER= rhialto@NetBSD.org
HOMEPAGE= https://github.com/SDL-Hercules-390/hyperion
COMMENT= The SoftDevLabs version of Hercules 4.x (Hyperion)
LICENSE= qpl-v1.0
GITHUB_PROJECT= hyperion
GITHUB_TAG= Release_${PKGVERSION_NOREV}
GNU_CONFIGURE= yes
USE_TOOLS+= autoconf automake flex gawk grep gm4 gmake perl gsed
USE_TOOLS+= bash
USE_LIBTOOL= YES
USE_LANGUAGES+= c
PTHREAD_OPTS+= require
REPLACE_BASH= _dynamic_version
.if ${MACHINE_ARCH} == i386
CFLAGS+= -march=i586
.endif
SUBST_CLASSES+= prefix
SUBST_STAGE.prefix= pre-configure
SUBST_MESSAGE.prefix= Correcting configuration path
SUBST_FILES.prefix= hercules.cnf
SUBST_SED.prefix= -e 's,/usr/local,${PREFIX},g'
CONFIGURE_ARGS+= --enable-extpkgs=${PREFIX}/lib/hercules4sdl
GROUP= hercules
PKG_GROUPS+= ${GROUP}
SPECIAL_PERMS+= ${PREFIX}/bin/hercifc ${REAL_ROOT_USER} ${GROUP} 4510
INSTALLATION_DIRS+= share/examples/hercules
pre-configure:
cd ${WRKSRC} && ./autogen.sh
post-install:
${INSTALL_DATA} ${WRKSRC}/hercules.cnf ${DESTDIR}${PREFIX}/share/examples/hercules/
.include "../../archivers/bzip2/buildlink3.mk"
.include "../../converters/libiconv/buildlink3.mk"
.include "../../devel/libltdl/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
.include "../../math/hercules4sdl-decnumber/buildlink3.mk"
.include "../../math/hercules4sdl-softfloat/buildlink3.mk"
.include "../../net/hercules4sdl-telnet/buildlink3.mk"
.include "../../security/hercules4sdl-crypto/buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"