Source-Changes-HG archive

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

[src/trunk]: src/gnu/usr.bin/gettext/libnlspr Prevent a *.y that is newer tha...



details:   https://anonhg.NetBSD.org/src/rev/cbb8ebbd7c3d
branches:  trunk
changeset: 580602:cbb8ebbd7c3d
user:      lukem <lukem%NetBSD.org@localhost>
date:      Sun May 01 06:51:04 2005 +0000

description:
Prevent a *.y that is newer than *.[ch] (in dist/gettext) from
attempting to yacc the former into the latter, which fails for
read-only source.

diffstat:

 gnu/usr.bin/gettext/libnlspr/Makefile |  8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r 7d5ab51df83f -r cbb8ebbd7c3d gnu/usr.bin/gettext/libnlspr/Makefile
--- a/gnu/usr.bin/gettext/libnlspr/Makefile     Sun May 01 03:07:12 2005 +0000
+++ b/gnu/usr.bin/gettext/libnlspr/Makefile     Sun May 01 06:51:04 2005 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.2 2005/04/29 15:05:01 christos Exp $
+#      $NetBSD: Makefile,v 1.3 2005/05/01 06:51:04 lukem Exp $
 
 MKPRIVATELIB=  yes
 
@@ -74,3 +74,9 @@
 CPPFLAGS+=-DGETTEXTDATADIR=\"${DESTDIR}/usr/share/gettext\"
 
 .include <bsd.lib.mk>
+
+# Override <sys.mk> double suffix rules to prevent *.y being yacced to *.[ch]
+# (The latter already exist in the ${DIST}/gettext directory.)
+#
+.y.c:
+       @${_MKSHECHO} "# skipping yacc ${.CURDIR:T}/${.TARGET:T}"



Home | Main Index | Thread Index | Old Index