tech-pkg archive

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

Re: commit workaround in #38665



On Thu, Aug 14, 2008 at 09:17:25AM +0900, OBATA Akio wrote:
 > > Anyone looking at
 > > http://www.netbsd.org/cgi-bin/query-pr-single.pl?number=38665
 > >
 > > Is that second workaround okay to commit?
 > 
 > At all, is it typo, not H_NCURSES, but H_NCURSESW?

Looks like it to me. Any objection to the following?

Index: builtin.mk
===================================================================
RCS file: /cvsroot/pkgsrc/devel/ncursesw/builtin.mk,v
retrieving revision 1.7
diff -u -r1.7 builtin.mk
--- builtin.mk  29 Feb 2008 19:23:07 -0000      1.7
+++ builtin.mk  15 Oct 2008 17:36:08 -0000
@@ -37,14 +37,14 @@
 ###
 .if !defined(BUILTIN_PKG.ncursesw) && \
     !empty(IS_BUILTIN.ncursesw:M[yY][eE][sS]) && \
-    empty(H_NCURSES:M__nonexistent__)
+    empty(H_NCURSESW:M__nonexistent__)
 BUILTIN_VERSION.ncursesw!=                                             \
        ${AWK} '/\#define[      ]*NCURSES_VERSION[      ]/ {            \
                        vers = $$3;                                     \
                        gsub("\"", "", vers);                           \
                        print vers;                                     \
                }                                                       \
-       ' ${H_NCURSES:Q}
+       ' ${H_NCURSESW:Q}
 BUILTIN_PKG.ncursesw=  ncursesw-${BUILTIN_VERSION.ncursesw}
 .endif
 MAKEVARS+=     BUILTIN_PKG.ncursesw


-- 
David A. Holland
dholland%netbsd.org@localhost


Home | Main Index | Thread Index | Old Index