editors/gate: USES+= ncurses, respect LDFLAGS

while here, link with ncurses, not termcap or curses
This commit is contained in:
John Marino 2016-01-31 13:34:42 +00:00
parent d5d283e0d2
commit 443133624e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=407632
3 changed files with 23 additions and 0 deletions

View File

@ -13,6 +13,7 @@ COMMENT= Simple and unobtrusive line-oriented text editor
BUILD_DEPENDS= aspell:${PORTSDIR}/textproc/aspell
RUN_DEPENDS= aspell:${PORTSDIR}/textproc/aspell
USES= ncurses
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-aspell=${LOCALBASE}/bin/aspell

View File

@ -0,0 +1,11 @@
--- Makefile.in.orig 2003-06-19 16:47:56 UTC
+++ Makefile.in
@@ -25,7 +25,7 @@ DIST= README $(SRCS) gate.h config.h.in
Makefile.in gate.1.C gate.help CHANGES
gate: $(OBJS)
- $(CC) -o gate $(CFLAGS) $(OBJS) $(LIBS)
+ $(CC) -o gate $(CFLAGS) $(OBJS) $(LDFLAGS) $(LIBS)
main.o: main.c gate.h config.h
util.o: util.c gate.h config.h

View File

@ -0,0 +1,11 @@
--- configure.orig 2005-01-24 06:35:15 UTC
+++ configure
@@ -1766,7 +1766,7 @@ else
cat conftest.$ac_ext >&5
fi
rm -f conftest*
-test "$ac_cv_search_tgetent" = "no" && for i in termcap curses; do
+test "$ac_cv_search_tgetent" = "no" && for i in ncurses; do
LIBS="-l$i $ac_func_search_save_LIBS"
cat > conftest.$ac_ext <<EOF
#line 1773 "configure"