summaryrefslogtreecommitdiff
path: root/news
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2007-09-19 05:55:05 +0000
committerwiz <wiz@pkgsrc.org>2007-09-19 05:55:05 +0000
commitb60461971985d223bb4c9dfcfd93528f6e6a479c (patch)
treeb11fb575928ec47cfc6654e599c3d695e821078e /news
parenta95764bd2fc35da1fea1f42598627a5098a46af1 (diff)
downloadpkgsrc-b60461971985d223bb4c9dfcfd93528f6e6a479c.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)