Subject: pkg/36998: news/tin fails to build with curses
To: None <,,>
From: Yakovetsky Vladimir <>
List: pkgsrc-bugs
Date: 09/17/2007 14:00:00
>Number:         36998
>Category:       pkg
>Synopsis:       news/tin: fails to build with curses
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Sep 17 14:00:00 +0000 2007
>Originator:     Yakovetsky Vladimir
>Release:        NetBSD 4.0_RC1
System: NetBSD 4.0_RC1 NetBSD 4.0_RC1 (darg-1.799.2.13-mp- #0: Thu Sep 6 15:52:19 EEST 2007 i386
Architecture: i386
Machine: i386
	news/tin fails to build with curses option

% cd news/tin && make
checking for screen type... curses
checking if you specified curses install-directory... configure: error: expected a pathname, not ""
*** Error code 1


--- news/tin/
+++ news/tin/
@@ -13,7 +13,9 @@
 .if !empty(PKG_OPTIONS:Mcurses)
 .  include "../../mk/"
 CONFIGURE_ARGS+=	--with-screen=curses
+.  if !empty(BUILDLINK_PREFIX.curses)
 CONFIGURE_ARGS+=	--with-curses-dir=${BUILDLINK_PREFIX.curses}
+.  endif
 .if !empty(PKG_OPTIONS:Mncurses)