CVS commit: src/tools/xz-include

2018-09-25 Thread Jeff Rizzo
Module Name:src
Committed By:   riz
Date:   Tue Sep 25 17:57:33 UTC 2018

Modified Files:
src/tools/xz-include: Makefile.inc

Log Message:
Add CPPFLAGS+= -std=c99 so tools can build on systems where the
system compiler doesn't default to C99 (eg, NetBSD 6.1).


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/tools/xz-include/Makefile.inc

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/tools/xz-include/Makefile.inc
diff -u src/tools/xz-include/Makefile.inc:1.1 src/tools/xz-include/Makefile.inc:1.2
--- src/tools/xz-include/Makefile.inc:1.1	Tue Sep 25 08:54:58 2018
+++ src/tools/xz-include/Makefile.inc	Tue Sep 25 17:57:33 2018
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile.inc,v 1.1 2018/09/25 08:54:58 joerg Exp $
+#	$NetBSD: Makefile.inc,v 1.2 2018/09/25 17:57:33 riz Exp $
 
 XZ_TOPLEVEL:=	${.PARSEDIR}/../../external/public-domain/xz
 
@@ -6,4 +6,6 @@ NOMAN=  # defined
 MKREPRO=no	# Native toolchain might be unable to do it
 MKNLS=no
 
+CPPFLAGS+=	-std=c99
+
 .include "${XZ_TOPLEVEL}/Makefile.inc"



CVS commit: src/tools/xz-include

2018-09-25 Thread Joerg Sonnenberger
Module Name:src
Committed By:   joerg
Date:   Tue Sep 25 11:41:35 UTC 2018

Modified Files:
src/tools/xz-include: Makefile

Log Message:
Don't include NLS for the tools build of xz.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/tools/xz-include/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/tools/xz-include/Makefile
diff -u src/tools/xz-include/Makefile:1.1 src/tools/xz-include/Makefile:1.2
--- src/tools/xz-include/Makefile:1.1	Tue Sep 25 05:42:08 2018
+++ src/tools/xz-include/Makefile	Tue Sep 25 11:41:35 2018
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.1 2018/09/25 05:42:08 joerg Exp $
+#	$NetBSD: Makefile,v 1.2 2018/09/25 11:41:35 joerg Exp $
 
 .include 
 
@@ -8,7 +8,7 @@
 #
 .include "Makefile.inc"
 
-CONFIGURE_ARGS+=	--enable-threads=no
+CONFIGURE_ARGS+=	--enable-threads=no --disable-nls
 
 config.status: ${XZSRCDIR}/configure
 	${HOST_SH} ${XZSRCDIR}/configure ${CONFIGURE_ARGS} \



CVS commit: src/tools/xz-include

2018-09-25 Thread Joerg Sonnenberger
Module Name:src
Committed By:   joerg
Date:   Tue Sep 25 08:54:58 UTC 2018

Added Files:
src/tools/xz-include: Makefile.inc

Log Message:
Add missing Makefile.inc for xz tools.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 src/tools/xz-include/Makefile.inc

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: src/tools/xz-include/Makefile.inc
diff -u /dev/null src/tools/xz-include/Makefile.inc:1.1
--- /dev/null	Tue Sep 25 08:54:58 2018
+++ src/tools/xz-include/Makefile.inc	Tue Sep 25 08:54:58 2018
@@ -0,0 +1,9 @@
+#	$NetBSD: Makefile.inc,v 1.1 2018/09/25 08:54:58 joerg Exp $
+
+XZ_TOPLEVEL:=	${.PARSEDIR}/../../external/public-domain/xz
+
+NOMAN=  # defined
+MKREPRO=no	# Native toolchain might be unable to do it
+MKNLS=no
+
+.include "${XZ_TOPLEVEL}/Makefile.inc"