summaryrefslogtreecommitdiff
path: root/net/mtr/Makefile
diff options
context:
space:
mode:
authorroy <roy@pkgsrc.org>2017-01-04 19:41:14 +0000
committerroy <roy@pkgsrc.org>2017-01-04 19:41:14 +0000
commit5fb9fb2e72e3036cd1e334e2d03b005575b06733 (patch)
tree29c182d9961a54a9684a70770f01713eda4841ac /net/mtr/Makefile
parenteda2a4cf2c5e41f81e09a0fcadeeee6dd1a47b82 (diff)
downloadpkgsrc-5fb9fb2e72e3036cd1e334e2d03b005575b06733.tar.gz
Use the curses framework.
Diffstat (limited to 'net/mtr/Makefile')
-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"