summaryrefslogtreecommitdiff
path: root/irc
diff options
context:
space:
mode:
authorJohn Marino <marino@FreeBSD.org>2016-02-05 09:33:16 +0000
committerJohn Marino <marino@FreeBSD.org>2016-02-05 09:33:16 +0000
commit3ccdd982a64900c7d9fc468b7d9314764dde428a (patch)
treec65e8123deb3f9a2aaa6a40963559d5f9ddf878c /irc
parentirc/sic: USES+= ncurses (diff)
irc/sirc: USES+= ncurses, respect LDFLAGS, link with libncurses ...
... rather than libtermcap (the latter is symlinked with former)
Notes
Notes: svn path=/head/; revision=408145
Diffstat (limited to 'irc')
-rw-r--r--irc/sirc/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/irc/sirc/Makefile b/irc/sirc/Makefile
index 256baec1ffae..3a7e85f67224 100644
--- a/irc/sirc/Makefile
+++ b/irc/sirc/Makefile
@@ -17,7 +17,7 @@ COMMENT= Small (150k), fast, perl-based IRC client
RUN_DEPENDS= p5-Perl4-CoreLibs>=0:${PORTSDIR}/devel/p5-Perl4-CoreLibs
-USES= perl5
+USES= ncurses perl5
IPV6_RUN_DEPENDS= p5-IO-Socket-INET6>0:${PORTSDIR}/net/p5-IO-Socket-INET6
IPV6_EXTRA_PATCHES= ${PATCHDIR}/dsirc-ipv6
@@ -47,7 +47,8 @@ pre-patch:
${WRKSRC}/dsirc.prepatch > ${WRKSRC}/dsirc
do-build:
- ${CC} ${CFLAGS} ${WRKSRC}/ssfe.c -o ${WRKSRC}/ssfe -ltermcap
+ ${CC} ${CFLAGS} ${WRKSRC}/ssfe.c -o ${WRKSRC}/ssfe \
+ ${LDFLAGS} -lncurses
do-install:
@${MKDIR} ${SIRCLIBDIR}