pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/graphics/irrlicht irrlicht: Work around NetBSD unzip f...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/dd139f24eb03
branches:  trunk
changeset: 389976:dd139f24eb03
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Tue Dec 13 14:20:32 2022 +0000

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

diffstat:

 graphics/irrlicht/Makefile |  11 ++++++++++-
 1 files changed, 10 insertions(+), 1 deletions(-)

diffs (25 lines):

diff -r 89bfe65ac09d -r dd139f24eb03 graphics/irrlicht/Makefile
--- a/graphics/irrlicht/Makefile        Tue Dec 13 14:17:07 2022 +0000
+++ b/graphics/irrlicht/Makefile        Tue Dec 13 14:20:32 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2020/05/09 12:28:37 rillig Exp $
+# $NetBSD: Makefile,v 1.5 2022/12/13 14:20:32 jperkin Exp $
 
 DISTNAME=      irrlicht-1.8.4
 CATEGORIES=    graphics
@@ -10,6 +10,15 @@
 COMMENT=       Open source high performance real-time 3D engine
 LICENSE=       zlib
 
+# Work around NetBSD unzip for patched files.
+SUBST_CLASSES+=                cr
+SUBST_STAGE.cr=                post-extract
+SUBST_FILES.cr+=       source/Irrlicht/COSOperator.cpp
+SUBST_FILES.cr+=       source/Irrlicht/Makefile
+SUBST_FILES.cr+=       source/Irrlicht/os.cpp
+SUBST_FILTER_CMD.cr=   ${TR} -d '\r'
+SUBST_NOOP_OK.cr=      yes
+
 USE_TOOLS+=    pkg-config gmake
 USE_LANGUAGES= c c++
 USE_LIBTOOL=   yes



Home | Main Index | Thread Index | Old Index