summaryrefslogtreecommitdiff
path: root/news
diff options
context:
space:
mode:
authorwiz <wiz>2007-09-19 05:55:05 +0000
committerwiz <wiz>2007-09-19 05:55:05 +0000
commit2dc114bb1478ae381a0ba201b6fc11b6855cede1 (patch)
treeb11fb575928ec47cfc6654e599c3d695e821078e /news
parent0e6d52e80bdcc2a30b8e9756341182a589b8581c (diff)
downloadpkgsrc-2dc114bb1478ae381a0ba201b6fc11b6855cede1.tar.gz
Fix build with curses option. From Yakovetsky Vladimir in PR 36998.
Diffstat (limited to 'news')
-rw-r--r--news/tin/options.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/news/tin/options.mk b/news/tin/options.mk
index acdae50dfb9..f45d110d5d5 100644
--- a/news/tin/options.mk
+++ b/news/tin/options.mk
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.7 2007/09/13 23:14:41 wiz Exp $
+# $NetBSD: options.mk,v 1.8 2007/09/19 05:55:05 wiz Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.tin
PKG_SUPPORTED_OPTIONS= icu inet6 tin-use-inn-spool
@@ -13,7 +13,9 @@ PKG_SUGGESTED_OPTIONS= curses
.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)