Sat Sep 19 14:02:31 2020 UTC ()
Remove CR stripping since source files don't contain it any more:
ERROR: [subst.mk:d2u] The filename patterns "*.h *.c */*.h */*.c */*/*.h */*/*.c" have no effect.
No change in resulting binaries.


(rhialto)
diff -r1.12 -r1.13 pkgsrc/textproc/convertlit/Makefile

cvs diff -r1.12 -r1.13 pkgsrc/textproc/convertlit/Makefile (expand / switch to unified diff)

--- pkgsrc/textproc/convertlit/Makefile 2019/11/04 21:43:34 1.12
+++ pkgsrc/textproc/convertlit/Makefile 2020/09/19 14:02:31 1.13
@@ -1,42 +1,36 @@ @@ -1,42 +1,36 @@
1# $NetBSD: Makefile,v 1.12 2019/11/04 21:43:34 rillig Exp $ 1# $NetBSD: Makefile,v 1.13 2020/09/19 14:02:31 rhialto Exp $
2# 2#
3# In order to ensure compliance with U.S. and international law, please 3# In order to ensure compliance with U.S. and international law, please
4# do not modify this file to provide pointers to the source or homepage 4# do not modify this file to provide pointers to the source or homepage
5# for this software or submit any PRs telling us the contents of the 5# for this software or submit any PRs telling us the contents of the
6# HOMEPAGE or MASTER_SITES definitions in this Makefile. 6# HOMEPAGE or MASTER_SITES definitions in this Makefile.
7 7
8DISTNAME= clit18src 8DISTNAME= clit18src
9PKGNAME= convertlit-1.8 9PKGNAME= convertlit-1.8
10PKGREVISION= 1 10PKGREVISION= 1
11CATEGORIES= textproc 11CATEGORIES= textproc
12MASTER_SITES= ${CONVERTLIT_MASTER_SITES} 12MASTER_SITES= ${CONVERTLIT_MASTER_SITES}
13EXTRACT_SUFX= .zip 13EXTRACT_SUFX= .zip
14 14
15MAINTAINER= pkgsrc-users@NetBSD.org 15MAINTAINER= pkgsrc-users@NetBSD.org
16HOMEPAGE= ${CONVERTLIT_HOMEPAGE} 16HOMEPAGE= ${CONVERTLIT_HOMEPAGE}
17COMMENT= Convert Microsoft Legal Reader format eBooks into open format 17COMMENT= Convert Microsoft Legal Reader format eBooks into open format
18 18
19WRKSRC= ${WRKDIR} 19WRKSRC= ${WRKDIR}
20BUILD_DIRS= lib clit18 20BUILD_DIRS= lib clit18
21MAKE_FILE= Makefile 21MAKE_FILE= Makefile
22USE_TOOLS+= gmake 22USE_TOOLS+= gmake
23 23
24SUBST_CLASSES+= d2u 
25SUBST_STAGE.d2u= pre-configure 
26SUBST_MESSAGE.d2u= Stripping CRLF line ends. 
27SUBST_FILES.d2u+= *.h *.c */*.h */*.c */*/*.h */*/*.c 
28SUBST_FILTER_CMD.d2u= ${TR} -d '\r' 
29 
30SUBST_CLASSES+= flags 24SUBST_CLASSES+= flags
31SUBST_STAGE.flags= pre-configure 25SUBST_STAGE.flags= pre-configure
32SUBST_MESSAGE.flags= Fixing CFLAGS and compiler invocation. 26SUBST_MESSAGE.flags= Fixing CFLAGS and compiler invocation.
33SUBST_FILES.flags+= clit18/Makefile 27SUBST_FILES.flags+= clit18/Makefile
34SUBST_SED.flags+= -e 's,^CFLAGS=.*,CFLAGS+=-funsigned-char -Wall -I ../lib -I ../lib/des -I .,' 28SUBST_SED.flags+= -e 's,^CFLAGS=.*,CFLAGS+=-funsigned-char -Wall -I ../lib -I ../lib/des -I .,'
35SUBST_SED.flags+= -e 's,gcc -o clit .. ../libtommath-0.30/libtommath.a,gcc $$(LDFLAGS) -o clit $$^ -ltommath,' 29SUBST_SED.flags+= -e 's,gcc -o clit .. ../libtommath-0.30/libtommath.a,gcc $$(LDFLAGS) -o clit $$^ -ltommath,'
36 30
37RESTRICTED= Possible legal problems 31RESTRICTED= Possible legal problems
38NO_SRC_ON_FTP= ${RESTRICTED} 32NO_SRC_ON_FTP= ${RESTRICTED}
39NO_BIN_ON_FTP= ${RESTRICTED} 33NO_BIN_ON_FTP= ${RESTRICTED}
40NO_SRC_ON_CDROM= ${RESTRICTED} 34NO_SRC_ON_CDROM= ${RESTRICTED}
41NO_BIN_ON_CDROM= ${RESTRICTED} 35NO_BIN_ON_CDROM= ${RESTRICTED}
42 36