summaryrefslogtreecommitdiff
path: root/irc
diff options
context:
space:
mode:
authorJohn Marino <marino@FreeBSD.org>2016-02-14 17:53:21 +0000
committerJohn Marino <marino@FreeBSD.org>2016-02-14 17:53:21 +0000
commit07e3c565926fab493d277a0324c9f656d90f80b0 (patch)
tree9c06342c6c0f666bd9e8c0346fbba3456cf2438a /irc
parentUpdate devel/elixir-paratize to version 2.1.2. (diff)
irc/epic4: Remove obsolete TERMCAP option, link with libncurses alway
The TERMCAP option avoided linking with libcurses (which is symlinked to libncurses) in order to link with libtermcap (which is also symlinked to libncurses). Remove the TERMCAP option completely and link directly to libncurses in any case. PR: 206947 approved by: jpaetzel@ (maintainer)
Notes
Notes: svn path=/head/; revision=408875
Diffstat (limited to 'irc')
-rw-r--r--irc/epic4/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/irc/epic4/Makefile b/irc/epic4/Makefile
index debb8ca2d760..166389116aa1 100644
--- a/irc/epic4/Makefile
+++ b/irc/epic4/Makefile
@@ -3,7 +3,7 @@
PORTNAME= epic4
PORTVERSION= 2.10.5
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= irc ipv6
MASTER_SITES= http://ftp.epicsol.org/pub/epic/EPIC4-PRODUCTION/ \
http://tehran.lain.pl/epic-mirror/EPIC4-PRODUCTION/ \
@@ -23,12 +23,11 @@ CONFLICTS= epic5-0.[0-2]*
GNU_CONFIGURE= yes
USE_OPENSSL= yes
PLIST_SUB+= PORTVERSION=${PORTVERSION}
-USES+= tar:bzip2
+USES= ncurses tar:bzip2
CFLAGS:= ${CFLAGS:C/-O2/-g -O/g}
-OPTIONS_DEFINE= IPV6 TCL PERL SSL TERMCAP DOCS
+OPTIONS_DEFINE= IPV6 TCL PERL SSL DOCS
OPTIONS_DEFAULT= TCL PERL SSL
-TERMCAP_DESC= Refuse to use terminfo/ncurses
.include <bsd.port.options.mk>
@@ -72,6 +71,7 @@ post-extract:
post-patch:
@${RM} ${WRKDIR}/help/Makefile
+ @${REINPLACE_CMD} -e 's|-lcurses|-lncurses|' ${WRKSRC}/configure
post-install:
@${CP} -R ${WRKDIR}/help/* ${STAGEDIR}${PREFIX}/share/epic/help