summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorroy <roy>2017-01-04 19:41:14 +0000
committerroy <roy>2017-01-04 19:41:14 +0000
commit65025137ff90d9671820127defe81ec1ac6c6707 (patch)
tree4037cb7388e7d0d9527f9f20b97061bace151559
parentd3fe5415394290d20c4df7b1a359bf45cc8939af (diff)
downloadpkgsrc-65025137ff90d9671820127defe81ec1ac6c6707.tar.gz
Use the curses framework.
-rw-r--r--net/mtr/Makefile9
1 files changed, 2 insertions, 7 deletions
diff --git a/net/mtr/Makefile b/net/mtr/Makefile
index c4e557f5533..292db66e42e 100644
--- a/net/mtr/Makefile
+++ b/net/mtr/Makefile
@@ -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 @@ INSTALLATION_DIRS= ${PKGMANDIR}/man8 sbin share/doc/mtr
.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 @@ do-install:
${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"