Module Name: src Committed By: nakayama Date: Sat Mar 17 12:42:31 UTC 2012
Modified Files: src/external/mit/xorg/server/xorg-server/hw/xfree86/loader: Makefile src/tests/lib/libppath: Makefile plist_to_c Log Message: Use toolchain awk to make them buildable on Solaris 10. To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11 \ src/external/mit/xorg/server/xorg-server/hw/xfree86/loader/Makefile cvs rdiff -u -r1.3 -r1.4 src/tests/lib/libppath/Makefile cvs rdiff -u -r1.1 -r1.2 src/tests/lib/libppath/plist_to_c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/external/mit/xorg/server/xorg-server/hw/xfree86/loader/Makefile diff -u src/external/mit/xorg/server/xorg-server/hw/xfree86/loader/Makefile:1.10 src/external/mit/xorg/server/xorg-server/hw/xfree86/loader/Makefile:1.11 --- src/external/mit/xorg/server/xorg-server/hw/xfree86/loader/Makefile:1.10 Tue Aug 2 09:11:38 2011 +++ src/external/mit/xorg/server/xorg-server/hw/xfree86/loader/Makefile Sat Mar 17 12:42:31 2012 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.10 2011/08/02 09:11:38 mrg Exp $ +# $NetBSD: Makefile,v 1.11 2012/03/17 12:42:31 nakayama Exp $ .include "../../../Makefile.serverlib" .include "../../../Makefile.servermod" @@ -52,6 +52,6 @@ COPTS.loadmod.c= -Wno-error .include <bsd.lib.mk> sdksyms.c: sdksyms.sh - CPP='$(CPP)' AWK='$(AWK)' $(LOADERDIR)/sdksyms.sh $(X11SRCDIR.xorg-server) ${CFLAGS} ${CPPFLAGS} + CPP='$(CPP)' AWK='$(TOOL_AWK)' $(LOADERDIR)/sdksyms.sh $(X11SRCDIR.xorg-server) ${CFLAGS} ${CPPFLAGS} sdksyms.d: sdksyms.c CLEANFILES+= sdksyms.c Index: src/tests/lib/libppath/Makefile diff -u src/tests/lib/libppath/Makefile:1.3 src/tests/lib/libppath/Makefile:1.4 --- src/tests/lib/libppath/Makefile:1.3 Fri Jan 20 15:06:47 2012 +++ src/tests/lib/libppath/Makefile Sat Mar 17 12:42:31 2012 @@ -1,4 +1,4 @@ -# $Id: Makefile,v 1.3 2012/01/20 15:06:47 tsutsui Exp $ +# $Id: Makefile,v 1.4 2012/03/17 12:42:31 nakayama Exp $ .include <bsd.own.mk> @@ -16,7 +16,7 @@ CPPFLAGS+=-I$(.OBJDIR) echo "extern const char " ${.TARGET:S,.h$,,} "[];" > ${.TARGET} .plist.c: - ${HOST_SH} ${.CURDIR}/plist_to_c ${.TARGET:S,.c$,,} < ${.IMPSRC} > ${.TARGET} + AWK=${TOOL_AWK:Q} ${HOST_SH} ${.CURDIR}/plist_to_c ${.TARGET:S,.c$,,} < ${.IMPSRC} > ${.TARGET} CLEANFILES+=personnel.c personnel.h Index: src/tests/lib/libppath/plist_to_c diff -u src/tests/lib/libppath/plist_to_c:1.1 src/tests/lib/libppath/plist_to_c:1.2 --- src/tests/lib/libppath/plist_to_c:1.1 Thu Aug 25 19:09:46 2011 +++ src/tests/lib/libppath/plist_to_c Sat Mar 17 12:42:31 2012 @@ -12,7 +12,7 @@ if [ $# -ne 1 ]; then fi sed 's/\(["\]\)/\\\1/g' | \ -awk -v sym=$1 ' +${AWK:-awk} -v sym=$1 ' BEGIN { printf "const char " sym "[] = \""; } { printf $0 "\\n"; } END { print "\";"; }'