summaryrefslogtreecommitdiff
path: root/emulators
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2022-12-13 14:01:27 +0000
committerjperkin <jperkin@pkgsrc.org>2022-12-13 14:01:27 +0000
commitbdddc471c1c06f10df052f67dbe30dcd3ff7eed7 (patch)
tree050484410579563dd3fceb1aa4a4ebe901f19db4 /emulators
parent59d28ca2bd1567aee869a508ffaad57cfc5fae1a (diff)
downloadpkgsrc-bdddc471c1c06f10df052f67dbe30dcd3ff7eed7.tar.gz
simh3: Work around NetBSD unzip for patched files.
Diffstat (limited to 'emulators')
-rw-r--r--emulators/simh3/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/emulators/simh3/Makefile b/emulators/simh3/Makefile
index 6ba99cc5884..ac6d45b5175 100644
--- a/emulators/simh3/Makefile
+++ b/emulators/simh3/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2022/12/12 19:50:01 rhialto Exp $
+# $NetBSD: Makefile,v 1.5 2022/12/13 14:01:27 jperkin Exp $
DISTNAME= simhv312-3
PKGNAME= simh3-3.12.3
@@ -19,6 +19,13 @@ BUILDLINK_API_DEPENDS.libpcap+= libpcap>=0.9
BUILDLINK_TRANSFORM+= rm:-flto
BUILDLINK_TRANSFORM+= rm:-fwhole-program
+# Work around NetBSD unzip vs others for patched files.
+SUBST_CLASSES+= cr
+SUBST_STAGE.cr= post-extract
+SUBST_FILES.cr= makefile
+SUBST_FILTER_CMD.cr= ${TR} -d '\r'
+SUBST_NOOP_OK.cr= yes
+
INSTALLATION_DIRS= bin share/simh3 share/doc/simh3
MAKE_FILE= makefile