1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00

japanese/lipsf: USES+= ncurses, respect LDFLAGS

Also link with ncurses, not curses or termcap
This commit is contained in:
John Marino 2016-02-13 12:18:10 +00:00
parent 6aa98c2b8d
commit 42770a946e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=408789
3 changed files with 22 additions and 5 deletions

View File

@ -11,6 +11,7 @@ DISTNAME= ${PORTNAME}${PORTVERSION:S/.//}
MAINTAINER= ports@FreeBSD.org
COMMENT= Text to LIPS filter
USES= ncurses
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:S/.//}
PLIST_FILES= bin/lipsf bin/pols man/ja/man1/lipsf.1.gz man/ja/man1/pols.1.gz

View File

@ -1,5 +1,5 @@
--- Makefile.in.orig Sat Nov 18 00:00:00 2000
+++ Makefile.in Thu Apr 5 04:47:50 2001
--- Makefile.in.orig 2002-05-27 15:00:00 UTC
+++ Makefile.in
@@ -3,13 +3,13 @@
#
@ -18,16 +18,18 @@
CHMOD = chmod
LSRC = lipsf.c output.c print.c control.c args.c var.c
@@ -43,7 +43,7 @@
@@ -42,8 +42,8 @@ POLSB = $(POLS)__EXE__
POBJ1 = pols__OBJ__ term__OBJ__ input__OBJ__ file__OBJ__ style__OBJ__ __DOSOBJ__
POBJ2 = output__OBJ__ print__OBJ__ control__OBJ__ args__OBJ__ var__OBJ__ __DOSOBJS__
KNJOBJ = pols__OBJ__ input__OBJ__ file__OBJ__ style__OBJ__
LDFLAGS = __TERMLIBS__ __OTHERLIBS__
-LDFLAGS = __TERMLIBS__ __OTHERLIBS__
-CFLAGS = -D__OSTYPE__ __CCOPTIONS__
+LDFLAGS += __TERMLIBS__ __OTHERLIBS__
+CFLAGS += -D__OSTYPE__
.SUFFIXES: .h .c __OBJ__ __EXE__
@@ -115,14 +115,10 @@
@@ -115,14 +115,10 @@ config.h: config.hin
# to install all
install: $(LIPSFB) $(POLSB) $(LIPSF).$(MANSEC) $(POLS).$(MANSEC)

View File

@ -0,0 +1,14 @@
--- machine.h.orig 2002-05-27 15:00:00 UTC
+++ machine.h
@@ -841,9 +841,9 @@ typedef long off_t;
#endif
#ifndef TERMCAPLIB
# ifdef USETERMINFO
-# define TERMCAPLIB "-lcurses"
+# define TERMCAPLIB "-lncurses"
# else
-# define TERMCAPLIB "-ltermlib"
+# define TERMCAPLIB "-lncurses"
# endif
#endif
#ifndef REGEXPLIB