pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/audio/fasttracker2 fasttracker2: Fixes patching phase.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a9d03ad2a0aa
branches:  trunk
changeset: 398696:a9d03ad2a0aa
user:      fox <fox%pkgsrc.org@localhost>
date:      Sat Jul 27 21:26:06 2019 +0000

description:
fasttracker2: Fixes patching phase.

1. Converts CRLF to LF on source files so that patches apply correctly.

2. Bump PKGREVISION.

diffstat:

 audio/fasttracker2/Makefile |  10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)

diffs (28 lines):

diff -r 5a124234b078 -r a9d03ad2a0aa audio/fasttracker2/Makefile
--- a/audio/fasttracker2/Makefile       Sat Jul 27 20:35:24 2019 +0000
+++ b/audio/fasttracker2/Makefile       Sat Jul 27 21:26:06 2019 +0000
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.30 2019/07/22 23:38:47 fox Exp $
+# $NetBSD: Makefile,v 1.31 2019/07/27 21:26:06 fox Exp $
 
 DISTNAME=      ft2clone-${DISTVERSION}-code
 PKGNAME=       fasttracker2-${DISTVERSION:C/b/2./}
 DISTVERSION=   b162
-PKGREVISION=   1
+PKGREVISION=   2
 CATEGORIES=    audio
 MASTER_SITES=  https://16-bits.org/ \
                ${MASTER_SITE_FREEBSD_LOCAL:=ehaupt/}
@@ -21,6 +21,12 @@
 
 INSTALLATION_DIRS+=    bin share/pixmaps
 
+SUBST_CLASSES+=                d2u
+SUBST_MESSAGE.d2u=     Converting CRLF to LF.
+SUBST_STAGE.d2u=       post-extract
+SUBST_FILES.d2u=       src/*.[ch]
+SUBST_FILTER_CMD.d2u=  ${TR} -d '\r'
+
 do-build:
        ${CC} ${CFLAGS} ${LDFLAGS} \
                ${WRKSRC}/src/rtmidi/*.cpp ${WRKSRC}/src/gfxdata/*.c ${WRKSRC}/src/*.c \



Home | Main Index | Thread Index | Old Index