Module Name:    src
Committed By:   pooka
Date:           Mon Jan 14 15:50:18 UTC 2013

Modified Files:
        src/external/gpl3/gcc/usr.bin/backend: Makefile

Log Message:
Make this work with xpg4/sh where "for x in;" is an error.


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/external/gpl3/gcc/usr.bin/backend/Makefile

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

Modified files:

Index: src/external/gpl3/gcc/usr.bin/backend/Makefile
diff -u src/external/gpl3/gcc/usr.bin/backend/Makefile:1.14 src/external/gpl3/gcc/usr.bin/backend/Makefile:1.15
--- src/external/gpl3/gcc/usr.bin/backend/Makefile:1.14	Thu Nov 10 09:28:25 2011
+++ src/external/gpl3/gcc/usr.bin/backend/Makefile	Mon Jan 14 15:50:18 2013
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.14 2011/11/10 09:28:25 yamt Exp $
+#	$NetBSD: Makefile,v 1.15 2013/01/14 15:50:18 pooka Exp $
 
 LIBISPRIVATE=	yes
 
@@ -114,17 +114,16 @@ gtyp-gen.h: Makefile
 	(\
 	echo "static const char *srcdir = \"$(G_GTFILES_SRCDIR)\";"	; \
 	echo "static const char *lang_files[] = {"			; \
-	for f in $(G_GTFILES_FILES_FILES); do echo "\"$$f\", "; done	; \
+	for f in $$empty $(G_GTFILES_FILES_FILES); do echo "\"$$f\", "; done ; \
 	echo "NULL };"							; \
 	echo "static const char *langs_for_lang_files[] = {"		; \
-	for f in $(G_GTFILES_FILES_LANGS); do echo "\"$$f\", "; done 	; \
+	for f in $$empty $(G_GTFILES_FILES_LANGS); do echo "\"$$f\", "; done ; \
 	echo "NULL };"							; \
 	echo "static const char *all_files[] = {"			; \
-	for f in $(G_GTFILES); do echo "\"$$f\", "; done		; \
+	for f in $$empty $(G_GTFILES); do echo "\"$$f\", "; done	; \
 	echo " NULL };"							; \
 	echo "static const char *lang_dir_names[] = {"			; \
-	echo "\"c\", "							; \
-	for f in $(G_GTFILES_LANG_DIR_NAMES); do echo "\"$$f\", "; done	; \
+	for f in c $(G_GTFILES_LANG_DIR_NAMES); do echo "\"$$f\", "; done ; \
 	echo "NULL };"							; \
 	) >${.TARGET}
 

Reply via email to