From 3f3232b93b52087dad85ae52b40035a6f21812b7 Mon Sep 17 00:00:00 2001 From: grant Date: Fri, 5 Nov 2004 09:01:11 +0000 Subject: fix build on Solaris by linking against ncurses instead of libtermcap libtermcap == libcurses on Solaris 9 but it lacks the wattr_{on,off} functions and the configure script doesn't check for them. no PKGREVISION bump as this was already depending on ncurses where appropriate. --- net/mtr-gtk/Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'net/mtr-gtk') diff --git a/net/mtr-gtk/Makefile b/net/mtr-gtk/Makefile index 9edfbc75b45..4f73bee605e 100644 --- a/net/mtr-gtk/Makefile +++ b/net/mtr-gtk/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.19 2004/10/27 16:18:31 wiz Exp $ +# $NetBSD: Makefile,v 1.20 2004/11/05 09:03:15 grant Exp $ # DISTNAME= mtr-0.65 @@ -19,6 +19,11 @@ USE_X11= yes 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-gtk ${INSTALL} -c -s -m 4755 -o ${ROOT_USER} -g ${ROOT_GROUP} ${WRKSRC}/mtr ${PREFIX}/sbin/mtr-gtk -- cgit v1.2.3