pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/emulators/simh3 simh3: Work around NetBSD unzip for pa...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/bb54b6f3deb2
branches:  trunk
changeset: 389973:bb54b6f3deb2
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Tue Dec 13 14:01:27 2022 +0000

description:
simh3: Work around NetBSD unzip for patched files.

diffstat:

 emulators/simh3/Makefile |  9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

diffs (23 lines):

diff -r 4f8746f0ddef -r bb54b6f3deb2 emulators/simh3/Makefile
--- a/emulators/simh3/Makefile  Tue Dec 13 13:49:40 2022 +0000
+++ b/emulators/simh3/Makefile  Tue Dec 13 14:01:27 2022 +0000
@@ -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_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



Home | Main Index | Thread Index | Old Index