aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormarino <marino@FreeBSD.org>2016-02-03 08:38:48 +0800
committermarino <marino@FreeBSD.org>2016-02-03 08:38:48 +0800
commita3675ccfb0e46076c16b978fef06805a47a5954a (patch)
tree1871a233bf03b99f56d122ec2cb61508ecc58178
parent866bcee26f6c2f18b26699db05e6ecd187a3301b (diff)
downloadfreebsd-ports-gnome-a3675ccfb0e46076c16b978fef06805a47a5954a.tar.gz
freebsd-ports-gnome-a3675ccfb0e46076c16b978fef06805a47a5954a.tar.zst
freebsd-ports-gnome-a3675ccfb0e46076c16b978fef06805a47a5954a.zip
misc/estic: document ncurses requirement (USES+=ncurses)
Also link with libncurses, not libtermcap approved by: infrastructure blanket
-rw-r--r--misc/estic/Makefile2
-rw-r--r--misc/estic/files/patch-estic-freebsd-x.mak16
2 files changed, 9 insertions, 9 deletions
diff --git a/misc/estic/Makefile b/misc/estic/Makefile
index 184a060fcbc8..dec038b02029 100644
--- a/misc/estic/Makefile
+++ b/misc/estic/Makefile
@@ -12,7 +12,7 @@ DISTFILES= estic-1.60-sources.zip estic-1.61-patch-from-1.60.zip
MAINTAINER= dinoex@FreeBSD.org
COMMENT= Controller for ISDN TK-Anlage (PBX) made by Istec
-USES= zip
+USES= ncurses zip
USE_CSTD= gnu89
USE_CXXSTD= gnu++98
USE_GCC= any
diff --git a/misc/estic/files/patch-estic-freebsd-x.mak b/misc/estic/files/patch-estic-freebsd-x.mak
index e8acd7fc2325..76c9f8413f51 100644
--- a/misc/estic/files/patch-estic-freebsd-x.mak
+++ b/misc/estic/files/patch-estic-freebsd-x.mak
@@ -1,6 +1,6 @@
---- estic/make/freebsd-x.mak.orig 1997-01-31 03:57:24.000000000 +0100
-+++ estic/make/freebsd-x.mak 2014-03-28 17:00:36.000000000 +0100
-@@ -27,12 +27,12 @@
+--- estic/make/freebsd-x.mak.orig 1997-01-31 02:57:24 UTC
++++ estic/make/freebsd-x.mak
+@@ -27,12 +27,12 @@ AS = gas
AR = ar
LD = ld
ZIP = zip
@@ -15,7 +15,7 @@
# ------------------------------------------------------------------------------
-@@ -71,10 +71,10 @@
+@@ -71,10 +71,10 @@ OBJS = callwin.o \
icintcon.o \
iclog.o \
icmsgwin.o \
@@ -28,16 +28,16 @@
# ------------------------------------------------------------------------------
#
-@@ -82,7 +82,7 @@
+@@ -82,7 +82,7 @@ OBJS = callwin.o \
all: xestic
xestic: $(LIB) $(OBJS)
- $(CC) -o xestic $(OBJS) $(LIB) -ltermcap -lg++ -lX11
-+ $(CC) -L $(LOCALBASE)/lib -o xestic $(OBJS) $(LIB) -ltermcap -lX11
++ $(CC) -L $(LOCALBASE)/lib -o xestic $(OBJS) $(LIB) -lncurses -lX11
# ------------------------------------------------------------------------------
-@@ -90,7 +90,7 @@
+@@ -90,7 +90,7 @@ xestic: $(LIB) $(OBJS)
depend dep:
@echo "Creating dependency information"
@@ -46,7 +46,7 @@
# ------------------------------------------------------------------------------
# Create a ZIP file
-@@ -114,9 +114,10 @@
+@@ -114,9 +114,10 @@ bin-dist: estic icload strip
clean:
-rm -f *.bak *~