Subject: pkg/24129: devel/ncurses buildlink3 problems with FreeBSD-stable bootstrap
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <dotz@irc.pl>
List: netbsd-bugs
Date: 01/17/2004 12:33:00
>Number:         24129
>Category:       pkg
>Synopsis:       devel/ncurses buildlink3 problems with FreeBSD-stable bootstrap
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jan 17 12:33:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     Michal Pasternak
>Release:        N/A
>Organization:
>Environment:
N/A
>Description:
Sorry for not providing exact error message. bmake fails 
with "malformed conditional" in line 70 and 77 of devel/ncurses/buildlink3.mk
>How-To-Repeat:
N/A
>Fix:

Change parens.

RCS file: /cvsroot/pkgsrc/devel/ncurses/buildlink3.mk,v
retrieving revision 1.7
diff -u -r1.7 buildlink3.mk
--- buildlink3.mk       2004/01/10 17:47:38     1.7
+++ buildlink3.mk       2004/01/17 12:29:15
@@ -67,14 +67,14 @@
        BUILDLINK_USE_BUILTIN.ncurses="${BUILDLINK_USE_BUILTIN.ncurses}"
 .endif
 
-.if !empty(BUILDLINK_USE_BUILTIN.ncurses:M[nN][oO])
+.if !empty{BUILDLINK_USE_BUILTIN.ncurses:M[nN][oO]}
 .  if !empty(BUILDLINK_DEPTH:M+)
 BUILDLINK_DEPENDS+=    ncurses
 .  endif
 .endif
 
 .if !empty(NCURSES_BUILDLINK3_MK:M+)
-.  if !empty(BUILDLINK_USE_BUILTIN.ncurses:M[yY][eE][sS])
+.  if !empty{BUILDLINK_USE_BUILTIN.ncurses:M[yY][eE][sS]}
 .    if ${_BLNK_LIBNCURSES_FOUND} == "NO"
 BUILDLINK_TRANSFORM.ncurses+=  -e "s|/curses\.h|/ncurses.h|g"
 BUILDLINK_TRANSFORM+=          l:ncurses:curses

>Release-Note:
>Audit-Trail:
>Unformatted: