misc/estic: document ncurses requirement (USES+=ncurses)

Also link with libncurses, not libtermcap

approved by:	infrastructure blanket
This commit is contained in:
John Marino 2016-02-03 00:38:48 +00:00
parent c424145026
commit a60063d21d
2 changed files with 9 additions and 9 deletions

View file

@ -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

View file

@ -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 *~