pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/archivers/unalz Removed CRLF line endings from *.c and...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f72cc18ebed9
branches:  trunk
changeset: 507979:f72cc18ebed9
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Sun Feb 12 05:10:36 2006 +0000

description:
Removed CRLF line endings from *.c and *.h in the zlib/ and bzip2/
directories to allow building with gcc-2.95.

diffstat:

 archivers/unalz/Makefile |  9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

diffs (28 lines):

diff -r ee04f1b409d0 -r f72cc18ebed9 archivers/unalz/Makefile
--- a/archivers/unalz/Makefile  Sun Feb 12 05:00:33 2006 +0000
+++ b/archivers/unalz/Makefile  Sun Feb 12 05:10:36 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2005/12/03 15:06:42 salo Exp $
+# $NetBSD: Makefile,v 1.9 2006/02/12 05:10:36 rillig Exp $
 #
 
 DISTNAME=              unalz-0.53
@@ -13,12 +13,17 @@
 PKG_INSTALLATION_TYPES=        overwrite pkgviews
 
 BUILD_TARGET=          posix-utf8
-NO_CONFIGURE=          yes
 USE_LANGUAGES=         c c++
 WRKSRC=                        ${WRKDIR}/unalz
 
 INSTALLATION_DIRS=     bin
 
+SUBST_CLASSES+=                d2u
+SUBST_STAGE.d2u=       pre-configure
+SUBST_FILES.d2u=       bzip2/*.[ch] zlib/*.[ch]
+SUBST_FILTER_CMD.d2u=  ${TR} -d '\r'
+USE_TOOLS+=            tr
+
 .include "../../archivers/bzip2/buildlink3.mk"
 .include "../../devel/zlib/buildlink3.mk"
 .include "../../converters/libiconv/buildlink3.mk"



Home | Main Index | Thread Index | Old Index