aboutsummaryrefslogtreecommitdiff
path: root/editors/biew
diff options
context:
space:
mode:
authorJohn Marino <marino@FreeBSD.org>2016-01-31 13:38:50 +0000
committerJohn Marino <marino@FreeBSD.org>2016-01-31 13:38:50 +0000
commit77164e95e9f85cb787a6d740a36ce0324a0ad662 (patch)
treef41846fd3dc0fddf96e0941217ad82e3ae9a7154 /editors/biew
parent443133624eba43545e3cc07e899909808a482599 (diff)
downloadports-77164e95e9f85cb787a6d740a36ce0324a0ad662.tar.gz
ports-77164e95e9f85cb787a6d740a36ce0324a0ad662.zip
editors/biew: document ncurses requirement (USES+=ncurses)
Also make it actually link with ncurses, not termlib approved by: infrastructure blanket
Notes
Notes: svn path=/head/; revision=407634
Diffstat (limited to 'editors/biew')
-rw-r--r--editors/biew/Makefile2
-rw-r--r--editors/biew/files/patch-configure2
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