Subject: pkg/36998: news/tin fails to build with curses
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Yakovetsky Vladimir <yx@x.ua>
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
>Organization:
>Environment:
System: NetBSD darg.x.ua 4.0_RC1 NetBSD 4.0_RC1 (darg-1.799.2.13-mp-1.8.8.1) #0: Thu Sep 6 15:52:19 EEST 2007 yx@darg.x.ua:/sys/arch/i386/compile/darg.mp i386
Architecture: i386
Machine: i386
>Description:
news/tin fails to build with curses option
>How-To-Repeat:
% 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
Stop.
>Fix:
--- news/tin/options.mk.orig
+++ news/tin/options.mk
@@ -13,7 +13,9 @@
.if !empty(PKG_OPTIONS:Mcurses)
. include "../../mk/curses.buildlink3.mk"
CONFIGURE_ARGS+= --with-screen=curses
+. if !empty(BUILDLINK_PREFIX.curses)
CONFIGURE_ARGS+= --with-curses-dir=${BUILDLINK_PREFIX.curses}
+. endif
.endif
.if !empty(PKG_OPTIONS:Mncurses)