pkgsrc-Bugs archive

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

pkg/38665: devel/ncursesw/builtin.mk breaks HTML index generation



>Number:         38665
>Category:       pkg
>Synopsis:       devel/ncursesw/builtin.mk breaks HTML index generation
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu May 15 08:40:02 +0000 2008
>Originator:     Aleksej Saushev
>Release:        
>Organization:
>Environment:
FreeBSD 6.2-STABLE-200706 i386

>Description:
"bmake readme" stops with message:

Extracting data for category chat
......................bmake: 
"../../devel/ncursesw/../../devel/ncursesw/builtin.mk" line 40: Malformed 
conditional (!defined(BUILTIN_PKG.ncursesw) &&  
!empty(IS_BUILTIN.ncursesw:M[yY][eE][sS]) &&  empty(H_NCURSES:M__nonexistent__))

It doesn't exit and does no further progress.

The same problem is observed when running pbulk-scan.
>How-To-Repeat:
bmake readme
>Fix:
Workaround:

--- devel/ncursesw/builtin.mk   29 Feb 2008 22:23:07 +0300      1.7
+++ devel/ncursesw/builtin.mk   15 May 2008 11:03:11 +0400      
@@ -37,7 +37,7 @@
 ###
 .if !defined(BUILTIN_PKG.ncursesw) && \
     !empty(IS_BUILTIN.ncursesw:M[yY][eE][sS]) && \
-    empty(H_NCURSES:M__nonexistent__)
+    (!defined(H_NCURSES) || empty(H_NCURSES:M__nonexistent__))
 BUILTIN_VERSION.ncursesw!=                                             \
        ${AWK} '/\#define[      ]*NCURSES_VERSION[      ]/ {            \
                        vers = $$3;                                     \



Home | Main Index | Thread Index | Old Index