aboutsummaryrefslogtreecommitdiff
path: root/editors/mined
diff options
context:
space:
mode:
authorJohn Marino <marino@FreeBSD.org>2016-02-05 18:43:32 +0000
committerJohn Marino <marino@FreeBSD.org>2016-02-05 18:43:32 +0000
commit1b15721431a5a516dc86f0817cc3fc04e8dd1c2b (patch)
tree073d940cfbb554a14de1b7d4c3c457e94ab19019 /editors/mined
parentae52b409950779cca5e28d76304c2f8759be8f0c (diff)
downloadports-1b15721431a5a516dc86f0817cc3fc04e8dd1c2b.tar.gz
ports-1b15721431a5a516dc86f0817cc3fc04e8dd1c2b.zip
editors/mined: document ncurses requirement (USES+=ncurses)
approved by: infrastructure blanket
Notes
Notes: svn path=/head/; revision=408257
Diffstat (limited to 'editors/mined')
-rw-r--r--editors/mined/Makefile2
-rw-r--r--editors/mined/files/patch-src__makefile.bsd10
2 files changed, 10 insertions, 2 deletions
diff --git a/editors/mined/Makefile b/editors/mined/Makefile
index 13e5c23303b5..ac9cd85b8aec 100644
--- a/editors/mined/Makefile
+++ b/editors/mined/Makefile
@@ -15,7 +15,7 @@ OPTIONS_DEFINE= DOCS
PORTDOCS= *
-USES= gmake desktop-file-utils
+USES= desktop-file-utils gmake ncurses
MAKEFILE= makefile
REINPLACE_ARGS= -i ""
MAKE_ARGS= GMAKE="${MAKE_CMD}" CC="${CC}" OPT="${CFLAGS}"
diff --git a/editors/mined/files/patch-src__makefile.bsd b/editors/mined/files/patch-src__makefile.bsd
index 0ae3d321b179..5da8fcd1c042 100644
--- a/editors/mined/files/patch-src__makefile.bsd
+++ b/editors/mined/files/patch-src__makefile.bsd
@@ -18,7 +18,15 @@
#INSTALL = install --mode=+r,u+w
INSTALL = install -m 644
-@@ -114,7 +114,7 @@ GLDOPTS= # -[B]static links statically
+@@ -54,6 +54,7 @@ liblist = \
+ ls /lib/libtermcap.so* $(LIBDIR)/libtermcap.so*; \
+ ls /lib/libncursesw.so* $(LIBDIR)/libncursesw.so*; \
+ ls /lib/libncurses.so* $(LIBDIR)/libncurses.so*; \
++ ls /usr/local/lib/libncurses.so; \
+
+
+ # select first library found from list, replace with -l... if static
+@@ -114,7 +115,7 @@ GLDOPTS= # -[B]static links statically
# compiler selection and compiler-specific options
# (source warnings, optimisation and debug)