svn commit: r407632 - in head/editors/gate: . files

John Marino marino at FreeBSD.org
Sun Jan 31 13:34:44 UTC 2016


Author: marino
Date: Sun Jan 31 13:34:42 2016
New Revision: 407632
URL: https://svnweb.freebsd.org/changeset/ports/407632

Log:
  editors/gate: USES+= ncurses, respect LDFLAGS
  
  while here, link with ncurses, not termcap or curses

Added:
  head/editors/gate/files/patch-Makefile.in   (contents, props changed)
  head/editors/gate/files/patch-configure   (contents, props changed)
Modified:
  head/editors/gate/Makefile

Modified: head/editors/gate/Makefile
==============================================================================
--- head/editors/gate/Makefile	Sun Jan 31 13:27:32 2016	(r407631)
+++ head/editors/gate/Makefile	Sun Jan 31 13:34:42 2016	(r407632)
@@ -13,6 +13,7 @@ COMMENT=	Simple and unobtrusive line-ori
 BUILD_DEPENDS=	aspell:${PORTSDIR}/textproc/aspell
 RUN_DEPENDS=	aspell:${PORTSDIR}/textproc/aspell
 
+USES=		ncurses
 GNU_CONFIGURE=	yes
 
 CONFIGURE_ARGS=	--with-aspell=${LOCALBASE}/bin/aspell

Added: head/editors/gate/files/patch-Makefile.in
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/editors/gate/files/patch-Makefile.in	Sun Jan 31 13:34:42 2016	(r407632)
@@ -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

Added: head/editors/gate/files/patch-configure
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/editors/gate/files/patch-configure	Sun Jan 31 13:34:42 2016	(r407632)
@@ -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"


More information about the svn-ports-head mailing list