Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Feb 2016 17:53:21 +0000 (UTC)
From:      John Marino <marino@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r408875 - head/irc/epic4
Message-ID:  <201602141753.u1EHrLQu027900@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: marino
Date: Sun Feb 14 17:53:21 2016
New Revision: 408875
URL: https://svnweb.freebsd.org/changeset/ports/408875

Log:
  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)

Modified:
  head/irc/epic4/Makefile

Modified: head/irc/epic4/Makefile
==============================================================================
--- head/irc/epic4/Makefile	Sun Feb 14 17:40:23 2016	(r408874)
+++ head/irc/epic4/Makefile	Sun Feb 14 17:53:21 2016	(r408875)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201602141753.u1EHrLQu027900>