From 466ce1d5b35c18021179a1218faedc754571e70b Mon Sep 17 00:00:00 2001 From: marino Date: Sun, 31 Jan 2016 13:38:50 +0000 Subject: editors/biew: document ncurses requirement (USES+=ncurses) Also make it actually link with ncurses, not termlib approved by: infrastructure blanket --- editors/biew/Makefile | 2 +- editors/biew/files/patch-configure | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/editors/biew/Makefile b/editors/biew/Makefile index 592e13cbfec3..e57b040171ee 100644 --- a/editors/biew/Makefile +++ b/editors/biew/Makefile @@ -16,7 +16,7 @@ LICENSE= GPLv2 ONLY_FOR_ARCHS= amd64 i386 ia64 ONLY_FOR_ARCHS_REASON= no targets defined in Makefile -USES= dos2unix gmake iconv tar:bzip2 +USES= dos2unix gmake iconv ncurses tar:bzip2 DOS2UNIX_FILES= ${PORTDOCS:S,^,doc/,} HAS_CONFIGURE= yes CONFIGURE_ARGS= --cc="${CC}" --with-extraincdir="${LOCALBASE}/include" \ diff --git a/editors/biew/files/patch-configure b/editors/biew/files/patch-configure index b62d2908ec45..6cfb26525c02 100644 --- a/editors/biew/files/patch-configure +++ b/editors/biew/files/patch-configure @@ -52,7 +52,7 @@ check_header slang.h enabled slang_h && _cdefos="-D_SLANG_ -D__OS_NAME__='\"Unix/Slang\"' $_cdefos" - enabled slang_h && _oslibs="-lslang $_oslibs" || disable _slang -+ enabled slang_h && _oslibs="-lslang -ltermcap $_oslibs" || disable _slang ++ enabled slang_h && _oslibs="-lslang -lncurses $_oslibs" || disable _slang echores "$slang_h" fi - if enabled _curses -a disabled _slang; then -- cgit