pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/news/tin Fix build with curses option. From Yakovetsky...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d529485dbd61
branches:  trunk
changeset: 533441:d529485dbd61
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Wed Sep 19 05:55:05 2007 +0000

description:
Fix build with curses option. From Yakovetsky Vladimir in PR 36998.

diffstat:

 news/tin/options.mk |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r b23da8bce5a7 -r d529485dbd61 news/tin/options.mk
--- a/news/tin/options.mk       Wed Sep 19 03:00:17 2007 +0000
+++ b/news/tin/options.mk       Wed Sep 19 05:55:05 2007 +0000
@@ -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 @@
 .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)



Home | Main Index | Thread Index | Old Index