diff options
author | marino <marino@FreeBSD.org> | 2016-02-05 18:24:59 +0800 |
---|---|---|
committer | marino <marino@FreeBSD.org> | 2016-02-05 18:24:59 +0800 |
commit | 9943099c46d87167ae0cc70ded263476345bb17e (patch) | |
tree | 5f8ae86c0106dd9290880d43f24cf6333c0ecb85 /irc/epic5 | |
parent | 113337566b1124a77ec8459ad1af7fecd7368af2 (diff) | |
download | freebsd-ports-gnome-9943099c46d87167ae0cc70ded263476345bb17e.tar.gz freebsd-ports-gnome-9943099c46d87167ae0cc70ded263476345bb17e.tar.zst freebsd-ports-gnome-9943099c46d87167ae0cc70ded263476345bb17e.zip |
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)
Diffstat (limited to 'irc/epic5')
-rw-r--r-- | irc/epic5/Makefile | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/irc/epic5/Makefile b/irc/epic5/Makefile index 2f0d6353d01e..17ad1e0644e9 100644 --- a/irc/epic5/Makefile +++ b/irc/epic5/Makefile @@ -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} |