pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/emulators/fmsx fmsx: Work around NetBSD unzip vs other...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d9fba37a35f5
branches:  trunk
changeset: 389971:d9fba37a35f5
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Tue Dec 13 13:41:10 2022 +0000

description:
fmsx: Work around NetBSD unzip vs others for patched files.

diffstat:

 emulators/fmsx/Makefile |  11 ++++++++++-
 1 files changed, 10 insertions(+), 1 deletions(-)

diffs (25 lines):

diff -r 7b9ddf0abb56 -r d9fba37a35f5 emulators/fmsx/Makefile
--- a/emulators/fmsx/Makefile   Tue Dec 13 13:34:48 2022 +0000
+++ b/emulators/fmsx/Makefile   Tue Dec 13 13:41:10 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.45 2022/09/11 12:51:31 wiz Exp $
+# $NetBSD: Makefile,v 1.46 2022/12/13 13:41:10 jperkin Exp $
 
 DISTNAME=      fMSX54
 PKGNAME=       fmsx-5.4
@@ -19,6 +19,15 @@
 
 USE_TOOLS+=    gmake
 
+# Work around NetBSD unzip vs others for patched files.
+SUBST_CLASSES+=                cr
+SUBST_STAGE.cr=                post-extract
+SUBST_FILES.cr+=       fMSX/Unix/Makefile
+SUBST_FILES.cr+=       EMULib/Unix/SndUnix.c
+SUBST_FILES.cr+=       EMULib/Rules.Unix EMULib/Rules.gcc
+SUBST_FILTER_CMD.cr=   ${TR} -d '\r'
+SUBST_NOOP_OK.cr=      yes
+
 BUILD_DIRS=    fMSX/Unix
 
 .include "../../mk/bsd.prefs.mk"



Home | Main Index | Thread Index | Old Index