Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 6F95C84E57 for ; Tue, 11 Jul 2023 05:46:31 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.netbsd.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id llJ86whDJFQk for ; Tue, 11 Jul 2023 05:46:30 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.NetBSD.org [IPv6:2001:470:a085:999:28c:faff:fe03:5984]) by mail.netbsd.org (Postfix) with ESMTP id D285084E56 for ; Tue, 11 Jul 2023 05:46:30 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id CC0C6FBDB; Tue, 11 Jul 2023 05:46:30 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1689054390184250" MIME-Version: 1.0 Date: Tue, 11 Jul 2023 05:46:30 +0000 From: "Nia Alarie" Subject: CVS commit: pkgsrc/textproc/xmlindent To: pkgsrc-changes@NetBSD.org Approved: commit_and_comment Reply-To: nia@netbsd.org X-Mailer: log_accum Message-Id: <20230711054630.CC0C6FBDB@cvs.NetBSD.org> This is a multi-part message in MIME format. --_----------=_1689054390184250 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: nia Date: Tue Jul 11 05:46:30 UTC 2023 Modified Files: pkgsrc/textproc/xmlindent: Makefile distinfo Added Files: pkgsrc/textproc/xmlindent/patches: patch-Makefile Log Message: xmlindent: Honour CFLAGS/LDFLAGS, should help the build on some platforms To generate a diff of this commit: cvs rdiff -u -r1.15 -r1.16 pkgsrc/textproc/xmlindent/Makefile cvs rdiff -u -r1.5 -r1.6 pkgsrc/textproc/xmlindent/distinfo cvs rdiff -u -r0 -r1.1 pkgsrc/textproc/xmlindent/patches/patch-Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_1689054390184250 Content-Disposition: inline Content-Length: 2185 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/textproc/xmlindent/Makefile diff -u pkgsrc/textproc/xmlindent/Makefile:1.15 pkgsrc/textproc/xmlindent/Makefile:1.16 --- pkgsrc/textproc/xmlindent/Makefile:1.15 Tue Jul 11 05:42:33 2023 +++ pkgsrc/textproc/xmlindent/Makefile Tue Jul 11 05:46:30 2023 @@ -1,7 +1,8 @@ -# $NetBSD: Makefile,v 1.15 2023/07/11 05:42:33 nia Exp $ +# $NetBSD: Makefile,v 1.16 2023/07/11 05:46:30 nia Exp $ # DISTNAME= xmlindent-0.2.16 +PKGREVISION= 1 CATEGORIES= textproc MASTER_SITES= http://www.cs.helsinki.fi/u/penberg/xmlindent/src/ Index: pkgsrc/textproc/xmlindent/distinfo diff -u pkgsrc/textproc/xmlindent/distinfo:1.5 pkgsrc/textproc/xmlindent/distinfo:1.6 --- pkgsrc/textproc/xmlindent/distinfo:1.5 Tue Oct 26 11:23:40 2021 +++ pkgsrc/textproc/xmlindent/distinfo Tue Jul 11 05:46:30 2023 @@ -1,5 +1,6 @@ -$NetBSD: distinfo,v 1.5 2021/10/26 11:23:40 nia Exp $ +$NetBSD: distinfo,v 1.6 2023/07/11 05:46:30 nia Exp $ BLAKE2s (xmlindent-0.2.16.tar.gz) = c89734fd8d45ac9e6aadc0e27512a326f7699328eb4f4d7c3535ce14ab202c44 SHA512 (xmlindent-0.2.16.tar.gz) = 019f1e431c920b93762747865927df2816bf8e93bc2d856658ab07cacf4d0daa6d8b4c159be90e65bbff174c8270420082f089cb9166cb03b3d1cc68cee9b4fd Size (xmlindent-0.2.16.tar.gz) = 17657 bytes +SHA1 (patch-Makefile) = 2b324a5a6ee939499666f9f475e4a1a6aebb4133 Added files: Index: pkgsrc/textproc/xmlindent/patches/patch-Makefile diff -u /dev/null pkgsrc/textproc/xmlindent/patches/patch-Makefile:1.1 --- /dev/null Tue Jul 11 05:46:30 2023 +++ pkgsrc/textproc/xmlindent/patches/patch-Makefile Tue Jul 11 05:46:30 2023 @@ -0,0 +1,23 @@ +$NetBSD: patch-Makefile,v 1.1 2023/07/11 05:46:30 nia Exp $ + +Honour CFLAGS/LDFLAGS, properly separate compile and link +stages. + +--- Makefile.orig 2004-03-28 19:59:07.000000000 +0000 ++++ Makefile +@@ -4,8 +4,13 @@ PREFIX=/usr/local + BIN_INSTALL_DIR=$(PREFIX)/bin + MAN_INSTALL_DIR=$(PREFIX)/share/man/man1 + +-xmlindent: lexer +- gcc -Wall -g error.c indent.c buffer.c main.c -o xmlindent -lfl ++OBJS= error.o indent.o buffer.o main.o ++ ++.c.o: ++ $(CC) $(CFLAGS) -c $< ++ ++xmlindent: $(OBJS) lexer ++ $(CC) $(LDFLAGS) $(OBJS) -o xmlindent -lfl + + lexer: + flex xmlindent.yy --_----------=_1689054390184250--