pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/mtr Use the curses framework.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/df6814e38c55
branches:  trunk
changeset: 356778:df6814e38c55
user:      roy <roy%pkgsrc.org@localhost>
date:      Wed Jan 04 19:41:14 2017 +0000

description:
Use the curses framework.

diffstat:

 net/mtr/Makefile |  9 ++-------
 1 files changed, 2 insertions(+), 7 deletions(-)

diffs (28 lines):

diff -r 0daae4c58173 -r df6814e38c55 net/mtr/Makefile
--- a/net/mtr/Makefile  Wed Jan 04 19:29:23 2017 +0000
+++ b/net/mtr/Makefile  Wed Jan 04 19:41:14 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.94 2016/08/19 13:42:58 wiz Exp $
+# $NetBSD: Makefile,v 1.95 2017/01/04 19:41:14 roy Exp $
 
 DISTNAME=      mtr-0.87
 CATEGORIES=    net
@@ -15,11 +15,6 @@
 
 .include "options.mk"
 
-# mtr uses libtermcap by default, but needs wattr_{on,off} from (n)curses,
-# so we rewrite -ltermcap to -lncurses (which will be auto-mangled into
-# -lcurses on the appropriate platforms).
-BUILDLINK_TRANSFORM+=  l:termcap:ncurses
-
 SPECIAL_PERMS= sbin/mtr ${SETUID_ROOT_PERMS}
 
 # Remove hard-coded compiler option that GCC 3.x doesn't support.
@@ -37,5 +32,5 @@
        ${INSTALL_DATA} ${WRKSRC}/mtr.8 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8
        ${INSTALL_DATA} ${WRKSRC}/SECURITY ${DESTDIR}${PREFIX}/share/doc/mtr
 
-.include "../../devel/ncurses/buildlink3.mk"
+.include "../../mk/curses.buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index