diff options
author | marino <marino@FreeBSD.org> | 2016-01-31 21:38:50 +0800 |
---|---|---|
committer | marino <marino@FreeBSD.org> | 2016-01-31 21:38:50 +0800 |
commit | 466ce1d5b35c18021179a1218faedc754571e70b (patch) | |
tree | f41846fd3dc0fddf96e0941217ad82e3ae9a7154 | |
parent | b85f0d67a7ee67bcdc08c8ca007d4fd831708db1 (diff) | |
download | freebsd-ports-gnome-466ce1d5b35c18021179a1218faedc754571e70b.tar.gz freebsd-ports-gnome-466ce1d5b35c18021179a1218faedc754571e70b.tar.zst freebsd-ports-gnome-466ce1d5b35c18021179a1218faedc754571e70b.zip |
editors/biew: document ncurses requirement (USES+=ncurses)
Also make it actually link with ncurses, not termlib
approved by: infrastructure blanket
-rw-r--r-- | editors/biew/Makefile | 2 | ||||
-rw-r--r-- | 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 |