pkgsrc-Changes archive

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

CVS commit: pkgsrc/textproc/xmlindent



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.

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



Home | Main Index | Thread Index | Old Index