svn commit: r408145 - head/irc/sirc

John Marino marino at FreeBSD.org
Fri Feb 5 09:33:17 UTC 2016


Author: marino
Date: Fri Feb  5 09:33:16 2016
New Revision: 408145
URL: https://svnweb.freebsd.org/changeset/ports/408145

Log:
  irc/sirc: USES+= ncurses, respect LDFLAGS, link with libncurses ...
  
  ... rather than libtermcap (the latter is symlinked with former)

Modified:
  head/irc/sirc/Makefile

Modified: head/irc/sirc/Makefile
==============================================================================
--- head/irc/sirc/Makefile	Fri Feb  5 09:31:40 2016	(r408144)
+++ head/irc/sirc/Makefile	Fri Feb  5 09:33:16 2016	(r408145)
@@ -17,7 +17,7 @@ COMMENT=	Small (150k), fast, perl-based 
 
 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}


More information about the svn-ports-all mailing list