editors/gate: USES+= ncurses, respect LDFLAGS
while here, link with ncurses, not termcap or curses
This commit is contained in:
parent
d5d283e0d2
commit
443133624e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=407632
@ -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
|
||||
|
11
editors/gate/files/patch-Makefile.in
Normal file
11
editors/gate/files/patch-Makefile.in
Normal 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
|
11
editors/gate/files/patch-configure
Normal file
11
editors/gate/files/patch-configure
Normal 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"
|
Loading…
Reference in New Issue
Block a user