pkgsrc-Changes archive

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

CVS commit: pkgsrc/emulators/simh3



Module Name:    pkgsrc
Committed By:   jperkin
Date:           Tue Dec 13 14:01:27 UTC 2022

Modified Files:
        pkgsrc/emulators/simh3: Makefile

Log Message:
simh3: Work around NetBSD unzip for patched files.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 pkgsrc/emulators/simh3/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/emulators/simh3/Makefile
diff -u pkgsrc/emulators/simh3/Makefile:1.4 pkgsrc/emulators/simh3/Makefile:1.5
--- pkgsrc/emulators/simh3/Makefile:1.4 Mon Dec 12 19:50:01 2022
+++ pkgsrc/emulators/simh3/Makefile     Tue Dec 13 14:01:27 2022
@@ -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>
 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