summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2022-12-13 13:41:10 +0000
committerjperkin <jperkin@pkgsrc.org>2022-12-13 13:41:10 +0000
commit0f6555a341b48967b31ee7d9d12aa3a19de9a7f4 (patch)
tree9015b648cb4dd1b4e2df450b7c9d7869c098e491
parent82f4b6084a02b0ba6978eb2a6e1022f4951e9b04 (diff)
downloadpkgsrc-0f6555a341b48967b31ee7d9d12aa3a19de9a7f4.tar.gz
fmsx: Work around NetBSD unzip vs others for patched files.
-rw-r--r--emulators/fmsx/Makefile11
1 files changed, 10 insertions, 1 deletions
diff --git a/emulators/fmsx/Makefile b/emulators/fmsx/Makefile
index 1b8450bbbc0..3027846f9b0 100644
--- a/emulators/fmsx/Makefile
+++ b/emulators/fmsx/Makefile
@@ -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 @@ WRKSRC= ${WRKDIR}
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"