Module Name:    src
Committed By:   mrg
Date:           Tue Jun 28 09:31:55 UTC 2011

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

Log Message:
init.o wants a localedir.h to define LOCALEDIR now.  make it so.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/external/gpl3/gcc/usr.bin/libcpp/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/libcpp/Makefile
diff -u src/external/gpl3/gcc/usr.bin/libcpp/Makefile:1.1 src/external/gpl3/gcc/usr.bin/libcpp/Makefile:1.2
--- src/external/gpl3/gcc/usr.bin/libcpp/Makefile:1.1	Tue Jun 21 06:03:15 2011
+++ src/external/gpl3/gcc/usr.bin/libcpp/Makefile	Tue Jun 28 09:31:55 2011
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.1 2011/06/21 06:03:15 mrg Exp $
+#	$NetBSD: Makefile,v 1.2 2011/06/28 09:31:55 mrg Exp $
 
 LIBISPRIVATE=	yes
 
@@ -7,7 +7,7 @@
 SRCS=		${G_libcpp_a_OBJS:.o=.c}
 
 CPPFLAGS+=	-I${.CURDIR} -I${.CURDIR}/arch/${MACHINE_ARCH} \
-		-I${GCCARCH} -I${BACKENDOBJ} \
+		-I${GCCARCH} -I${BACKENDOBJ} -I. \
 		${G_INCLUDES:M-I*:N-I.*} \
 		-DPREFIX=\"/usr\"
 
@@ -18,3 +18,8 @@
 
 .PATH: ${DIST}/libcpp
 # ${DIST}/gcc
+
+localedir.h:
+	echo '#define LOCALEDIR "/usr/share/locale"' > ${.TARGET}
+
+init.o: localedir.h

Reply via email to