emulators/open-simh: update to 2023 05 11. Initial version of new ND100 (Nord-100) emulator. PDP11: numerous 11/70 compatibility fixes Further the usual small fixes and cleanups.diff -r1.10 -r1.11 pkgsrc/emulators/open-simh/Makefile
(rhialto)
@@ -1,52 +1,53 @@ | @@ -1,52 +1,53 @@ | |||
1 | # $NetBSD: Makefile,v 1.10 2023/05/06 19:09:14 ryoon Exp $ | 1 | # $NetBSD: Makefile,v 1.11 2023/05/18 19:30:09 rhialto Exp $ | |
2 | 2 | |||
3 | DISTNAME= open-simh-4.1.0 | 3 | DISTNAME= open-simh-4.1.0 | |
4 | PKGNAME= open-simh-4.1.0.20230207 | 4 | PKGNAME= open-simh-4.1.0.20230511 | |
5 | PKGREVISION= 2 | |||
6 | CATEGORIES= emulators | 5 | CATEGORIES= emulators | |
7 | MASTER_SITES= ${MASTER_SITE_GITHUB:=open-simh/} | 6 | MASTER_SITES= ${MASTER_SITE_GITHUB:=open-simh/} | |
8 | GITHUB_PROJECT= simh | 7 | GITHUB_PROJECT= simh | |
9 | GITHUB_TAG= 5e01c0516b14d16fa4e780dff13077bed76aa38a | 8 | GITHUB_TAG= 793149d1bdf6fcdbf9ad54632285e3bd13b9e1c8 | |
10 | 9 | |||
11 | MAINTAINER= rhialto@NetBSD.org | 10 | MAINTAINER= rhialto@NetBSD.org | |
12 | HOMEPAGE= http://simh.trailing-edge.com/ | 11 | HOMEPAGE= http://simh.trailing-edge.com/ | |
13 | COMMENT= Bob Supniks historical computer simulator | 12 | COMMENT= Bob Supniks historical computer simulator | |
14 | LICENSE= mit | 13 | LICENSE= mit | |
15 | 14 | |||
16 | DEPENDS+= dejavu-ttf-[0-9]*:../../fonts/dejavu-ttf | 15 | DEPENDS+= dejavu-ttf-[0-9]*:../../fonts/dejavu-ttf | |
17 | 16 | |||
18 | USE_TOOLS+= gmake | 17 | USE_TOOLS+= gmake | |
19 | 18 | |||
20 | BUILDLINK_API_DEPENDS.libpcap+= libpcap>=0.9 | 19 | BUILDLINK_API_DEPENDS.libpcap+= libpcap>=0.9 | |
21 | 20 | |||
22 | .include "../../mk/bsd.prefs.mk" | 21 | .include "../../mk/bsd.prefs.mk" | |
23 | 22 | |||
24 | .if ${OPSYS} == "Darwin" | 23 | .if ${OPSYS} == "Darwin" | |
25 | # Doesn't seem to work with pkgsrc pcap, and dylib path is hardcoded. | 24 | # Doesn't seem to work with pkgsrc pcap, and dylib path is hardcoded. | |
26 | PREFER.libpcap= native | 25 | PREFER.libpcap= native | |
27 | # Link error with the native version: _zlibVersion | 26 | # Link error with the native version: _zlibVersion | |
28 | PREFER.zlib= pkgsrc | 27 | PREFER.zlib= pkgsrc | |
29 | .endif | 28 | .endif | |
30 | 29 | |||
31 | # The makefile tries to autodetect the options below from "gcc --help", but | 30 | # The makefile tries to autodetect the options below from "gcc --help", but | |
32 | # due to the compiler wrapper, it may not always output the expected text. | 31 | # due to the compiler wrapper, it may not always output the expected text. | |
33 | # So we hardcode the options here. | 32 | # So we hardcode the options here. | |
33 | CFLAGS_O+= -fno-strict-overflow | |||
34 | CFLAGS_O+= -fno-unsafe-loop-optimizations | |||
34 | CFLAGS_O+= -finline-functions | 35 | CFLAGS_O+= -finline-functions | |
35 | CFLAGS_O+= -fgcse-after-reload | 36 | CFLAGS_O+= -fgcse-after-reload | |
37 | .if ${PKGSRC_COMPILER} == "gcc" | |||
36 | CFLAGS_O+= -fpredictive-commoning | 38 | CFLAGS_O+= -fpredictive-commoning | |
37 | CFLAGS_O+= -fipa-cp-clone | 39 | CFLAGS_O+= -fipa-cp-clone | |
38 | CFLAGS_O+= -fno-unsafe-loop-optimizations | 40 | .endif | |
39 | CFLAGS_O+= -fno-strict-overflow | |||
40 | 41 | |||
41 | .if (${MACHINE_ARCH} == "arm") | 42 | .if (${MACHINE_ARCH} == "arm") | |
42 | BUILDLINK_TRANSFORM+= rm:-O2 | 43 | BUILDLINK_TRANSFORM+= rm:-O2 | |
43 | .endif | 44 | .endif | |
44 | 45 | |||
45 | # Needed for PDP11/pdp11_dc.c on gcc 4.1.3 | 46 | # Needed for PDP11/pdp11_dc.c on gcc 4.1.3 | |
46 | .if (${MACHINE_ARCH} == "vax") | 47 | .if (${MACHINE_ARCH} == "vax") | |
47 | CFLAGS+= -fforce-addr | 48 | CFLAGS+= -fforce-addr | |
48 | .endif | 49 | .endif | |
49 | 50 | |||
50 | CFLAGS.SunOS+= -DBSD_COMP | 51 | CFLAGS.SunOS+= -DBSD_COMP | |
51 | LDFLAGS.SunOS+= -lm | 52 | LDFLAGS.SunOS+= -lm | |
52 | 53 |
@@ -1,14 +1,14 @@ | @@ -1,14 +1,14 @@ | |||
1 | @comment $NetBSD: PLIST,v 1.3 2022/10/09 18:50:44 rhialto Exp $ | 1 | @comment $NetBSD: PLIST,v 1.4 2023/05/18 19:30:09 rhialto Exp $ | |
2 | bin/simh-3b2 | 2 | bin/simh-3b2 | |
3 | bin/simh-3b2-400 | 3 | bin/simh-3b2-400 | |
4 | bin/simh-3b2-700 | 4 | bin/simh-3b2-700 | |
5 | bin/simh-altair | 5 | bin/simh-altair | |
6 | bin/simh-altairz80 | 6 | bin/simh-altairz80 | |
7 | bin/simh-b5500 | 7 | bin/simh-b5500 | |
8 | bin/simh-besm6 | 8 | bin/simh-besm6 | |
9 | bin/simh-cdc1700 | 9 | bin/simh-cdc1700 | |
10 | bin/simh-eclipse | 10 | bin/simh-eclipse | |
11 | bin/simh-gri | 11 | bin/simh-gri | |
12 | bin/simh-h316 | 12 | bin/simh-h316 | |
13 | bin/simh-hp2100 | 13 | bin/simh-hp2100 | |
14 | bin/simh-hp3000 | 14 | bin/simh-hp3000 | |
@@ -28,26 +28,27 @@ bin/simh-id32 | @@ -28,26 +28,27 @@ bin/simh-id32 | |||
28 | bin/simh-imlac | 28 | bin/simh-imlac | |
29 | bin/simh-infoserver100 | 29 | bin/simh-infoserver100 | |
30 | bin/simh-infoserver1000 | 30 | bin/simh-infoserver1000 | |
31 | bin/simh-infoserver150vxt | 31 | bin/simh-infoserver150vxt | |
32 | bin/simh-intel-mds | 32 | bin/simh-intel-mds | |
33 | bin/simh-lgp | 33 | bin/simh-lgp | |
34 | bin/simh-microvax1 | 34 | bin/simh-microvax1 | |
35 | bin/simh-microvax2 | 35 | bin/simh-microvax2 | |
36 | bin/simh-microvax2000 | 36 | bin/simh-microvax2000 | |
37 | bin/simh-microvax3100 | 37 | bin/simh-microvax3100 | |
38 | bin/simh-microvax3100e | 38 | bin/simh-microvax3100e | |
39 | bin/simh-microvax3100m80 | 39 | bin/simh-microvax3100m80 | |
40 | bin/simh-microvax3900 | 40 | bin/simh-microvax3900 | |
41 | bin/simh-nd100 | |||
41 | bin/simh-nova | 42 | bin/simh-nova | |
42 | bin/simh-pdp1 | 43 | bin/simh-pdp1 | |
43 | bin/simh-pdp10 | 44 | bin/simh-pdp10 | |
44 | bin/simh-pdp10-ka | 45 | bin/simh-pdp10-ka | |
45 | bin/simh-pdp10-ki | 46 | bin/simh-pdp10-ki | |
46 | bin/simh-pdp10-kl | 47 | bin/simh-pdp10-kl | |
47 | bin/simh-pdp10-ks | 48 | bin/simh-pdp10-ks | |
48 | bin/simh-pdp11 | 49 | bin/simh-pdp11 | |
49 | bin/simh-pdp15 | 50 | bin/simh-pdp15 | |
50 | bin/simh-pdp4 | 51 | bin/simh-pdp4 | |
51 | bin/simh-pdp6 | 52 | bin/simh-pdp6 | |
52 | bin/simh-pdp7 | 53 | bin/simh-pdp7 | |
53 | bin/simh-pdp8 | 54 | bin/simh-pdp8 |
@@ -1,6 +1,6 @@ | @@ -1,6 +1,6 @@ | |||
1 | $NetBSD: distinfo,v 1.5 2023/02/08 20:59:50 rhialto Exp $ | 1 | $NetBSD: distinfo,v 1.6 2023/05/18 19:30:09 rhialto Exp $ | |
2 | 2 | |||
3 | BLAKE2s (open-simh-4.1.0-5e01c0516b14d16fa4e780dff13077bed76aa38a.tar.gz) = 610fc19c44ad7655c8c1874ca0ac8441b6256324cb93dff76d899cee5597afb6 | 3 | BLAKE2s (open-simh-4.1.0-793149d1bdf6fcdbf9ad54632285e3bd13b9e1c8.tar.gz) = 6fe046ace4cf269ab20ada7f9aaa321aad93a6455f1e9ca390b6c427f92ff79f | |
4 | SHA512 (open-simh-4.1.0-5e01c0516b14d16fa4e780dff13077bed76aa38a.tar.gz) = f67804c3ad73feb3300479fbeb4e3f4aa9acdbff4ca053ba64744022bac3259431e175fb9f596326bd10a9d024d21094aa2db24c327fe7ab5a2102d2bc8b83ca | 4 | SHA512 (open-simh-4.1.0-793149d1bdf6fcdbf9ad54632285e3bd13b9e1c8.tar.gz) = a735fc8fa70645e61f945318401ea15ddeab390996d06a4cf0c74fb479dcde87a9e9c5ae0f9f30a9f041885df874f754ec12ecea7e2b6e4a018eda0c6ca8f06a | |
5 | Size (open-simh-4.1.0-5e01c0516b14d16fa4e780dff13077bed76aa38a.tar.gz) = 31230051 bytes | 5 | Size (open-simh-4.1.0-793149d1bdf6fcdbf9ad54632285e3bd13b9e1c8.tar.gz) = 31601083 bytes | |
6 | SHA1 (patch-makefile) = 1958d111733c76b3cb1bff838278ec9cd5313dbf | 6 | SHA1 (patch-makefile) = 1958d111733c76b3cb1bff838278ec9cd5313dbf |