svn commit: r408875 - head/irc/epic4

John Marino marino at FreeBSD.org
Sun Feb 14 17:53:22 UTC 2016


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


More information about the svn-ports-all mailing list