Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Feb 2016 09:33:16 +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: r408145 - head/irc/sirc
Message-ID:  <201602050933.u159XGM5046429@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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}



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