Source-Changes-HG archive

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

[src/trunk]: src/share/mk Always convert PROG to its plural form independentl...



details:   https://anonhg.NetBSD.org/src/rev/cae06e02fd9c
branches:  trunk
changeset: 762997:cae06e02fd9c
user:      jmmv <jmmv%NetBSD.org@localhost>
date:      Mon Mar 07 19:05:03 2011 +0000

description:
Always convert PROG to its plural form independently of whether PROG_CXX
is defined or not.  From Garrett Cooper in private mail.

diffstat:

 share/mk/bsd.prog.mk |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (19 lines):

diff -r d3c5874da54b -r cae06e02fd9c share/mk/bsd.prog.mk
--- a/share/mk/bsd.prog.mk      Mon Mar 07 18:37:46 2011 +0000
+++ b/share/mk/bsd.prog.mk      Mon Mar 07 19:05:03 2011 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: bsd.prog.mk,v 1.260 2011/02/20 20:16:01 jmmv Exp $
+#      $NetBSD: bsd.prog.mk,v 1.261 2011/03/07 19:05:03 jmmv Exp $
 #      @(#)bsd.prog.mk 8.2 (Berkeley) 4/2/94
 
 .ifndef HOSTPROG
@@ -262,7 +262,8 @@
 .if !defined(RUMPPRG)
 .  if defined(PROG_CXX) && !defined(PROGS_CXX)
 PROGS_CXX=     ${PROG_CXX}
-.  elif defined(PROG) && !defined(PROGS)
+.  endif
+.  if defined(PROG) && !defined(PROGS)
 PROGS=         ${PROG}
 .  endif
 .endif



Home | Main Index | Thread Index | Old Index