diff options
Diffstat (limited to 'net/mtr')
-rw-r--r-- | net/mtr/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/net/mtr/Makefile b/net/mtr/Makefile index 4a22e2bb11d..b6ee5fc82ed 100644 --- a/net/mtr/Makefile +++ b/net/mtr/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.36 2004/10/27 16:18:31 wiz Exp $ +# $NetBSD: Makefile,v 1.37 2004/11/05 09:01:11 grant Exp $ # DISTNAME= mtr-0.65 @@ -17,6 +17,11 @@ USE_BUILDLINK3= YES CONFIGURE_ARGS+= --without-gtk INSTALLATION_DIRS= man/man8 sbin +# 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 + do-install: ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/mtr ${INSTALL} -c -s -m 4755 -o ${ROOT_USER} -g ${ROOT_GROUP} ${WRKSRC}/mtr ${PREFIX}/sbin |