summaryrefslogtreecommitdiff
path: root/net/xtraceroute
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>2002-10-09 11:03:32 +0000
committeragc <agc@pkgsrc.org>2002-10-09 11:03:32 +0000
commit3a7a801555bbd97674111c78ea8e345f9cc906d6 (patch)
tree40185e79ab81eb20ed6bb375b23eccffa66305d3 /net/xtraceroute
parent6c63e8e7e1786d01ab39107386eebdc40bb653bd (diff)
downloadpkgsrc-3a7a801555bbd97674111c78ea8e345f9cc906d6.tar.gz
Make this package use Buildlink2
Diffstat (limited to 'net/xtraceroute')
-rw-r--r--net/xtraceroute/Makefile12
1 files changed, 7 insertions, 5 deletions
diff --git a/net/xtraceroute/Makefile b/net/xtraceroute/Makefile
index d053d7120e5..290e363953f 100644
--- a/net/xtraceroute/Makefile
+++ b/net/xtraceroute/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.24 2001/09/27 23:18:33 jlam Exp $
+# $NetBSD: Makefile,v 1.25 2002/10/09 11:03:32 agc Exp $
#
DISTNAME= xtraceroute-0.8.14
@@ -12,16 +12,14 @@ HOMEPAGE= http://www.dtek.chalmers.se/~d3august/xt/index.html
COMMENT= Graphical version of traceroute, which traces the route IP packets go
BUILD_USES_MSGFMT= yes
-DEPENDS+= gtkglarea>=1.2.1:../../x11/gtkglarea
-DEPENDS+= tiff-[0-9]*:../../graphics/tiff
USE_X11= yes
#USE_MESA= yes
GNU_CONFIGURE= yes
USE_LIBINTL= yes
+USE_BUILDLINK2= yes
-EVAL_PREFIX+= GTKDIR=gtk+
-CONFIGURE_ARGS+= --with-gtk-prefix="${GTKDIR}"
+CONFIGURE_ARGS+= --with-gtk-prefix="${BUILDLINK_PREFIX.gtk}"
# XXX Actually, Mesa's in X11PREFIX too, but as our tiff is in LOCALBASE
# and xtraceroute doesn't have a switch to tell it so (yet?), we abuse
# the --with-GL-prefix switch for this.
@@ -33,4 +31,8 @@ post-install:
${INSTALL_DATA} ${WRKDIR}/hosts.cache ${PREFIX}/share/xtraceroute/hosts.cache
${INSTALL_DATA} ${WRKDIR}/networks.cache ${PREFIX}/share/xtraceroute/networks.cache
+.include "../../graphics/tiff/buildlink2.mk"
+.include "../../x11/gtk/buildlink2.mk"
+.include "../../x11/gtkglarea/buildlink2.mk"
+
.include "../../mk/bsd.pkg.mk"