Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Feb 2016 10:24:59 +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: r408156 - head/irc/epic5
Message-ID:  <201602051024.u15AOx3S062131@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: marino
Date: Fri Feb  5 10:24:59 2016
New Revision: 408156
URL: https://svnweb.freebsd.org/changeset/ports/408156

Log:
  irc/epic5: 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:	mp29590(gmail) (maintainer)

Modified:
  head/irc/epic5/Makefile

Modified: head/irc/epic5/Makefile
==============================================================================
--- head/irc/epic5/Makefile	Fri Feb  5 10:17:58 2016	(r408155)
+++ head/irc/epic5/Makefile	Fri Feb  5 10:24:59 2016	(r408156)
@@ -3,6 +3,7 @@
 
 PORTNAME=	epic5
 PORTVERSION=	1.4
+PORTREVISION=	1
 CATEGORIES=	irc ipv6
 MASTER_SITES=	http://ftp.epicsol.org/pub/epic/EPIC5-PRODUCTION/
 
@@ -17,11 +18,10 @@ USE_OPENSSL=	yes
 PLIST_SUB+=	PORTVERSION=${PORTVERSION}
 CFLAGS:=	${CFLAGS:C/-O2/-O/g}
 
-OPTIONS_DEFINE=	DOCS PERL RUBY TCL TERMCAP
-TERMCAP_DESC=	Refuse to use terminfo/ncurses
+OPTIONS_DEFINE=	DOCS PERL RUBY TCL
 
 CONFIGURE_ARGS+=--with-iconv=${ICONV_PREFIX}
-USES=		iconv libarchive tar:xz
+USES=		iconv libarchive ncurses tar:xz
 
 PERL_USES=	perl5
 PERL_CONFIGURE_WITH=	perl
@@ -29,7 +29,9 @@ RUBY_USE=	ruby=yes
 RUBY_CONFIGURE_WITH=	ruby
 TCL_USES=	tcl
 TCL_CONFIGURE_ON=	--with-tcl=${TCL_LIBDIR}/tclConfig.sh
-TERMCAP_CONFIGURE_WITH=	termcap
+
+post-patch:
+	@${REINPLACE_CMD} -e 's|-lcurses|-lncurses|' ${WRKSRC}/configure
 
 post-install:
 	${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/epic5-${PORTVERSION}



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