From ad0ce013861780b29eb6dd0e4d9484d2774a4223 Mon Sep 17 00:00:00 2001 From: Dmitry Marakasov Date: Sat, 16 Dec 2017 09:00:35 +0000 Subject: [PATCH] - Switch to USES=localbase - Remove obsolete OSVERSION condition Approved by: portmgr blanket --- net/gnome-nettool/Makefile | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/net/gnome-nettool/Makefile b/net/gnome-nettool/Makefile index c0fc32214b47..6e4d33becc1c 100644 --- a/net/gnome-nettool/Makefile +++ b/net/gnome-nettool/Makefile @@ -13,21 +13,14 @@ COMMENT= GNOME utility that provides network information statistics BUILD_DEPENDS= itstool:textproc/itstool LIB_DEPENDS= libgtop-2.0.so:devel/libgtop +RUN_DEPENDS= ${LOCALBASE}/bin/dig:dns/bind-tools USE_GNOME= gtk30 intlhack libxml2:build -USES= gettext gmake libtool pathfix pkgconfig tar:xz +USES= gettext gmake libtool localbase:ldflags pathfix pkgconfig tar:xz INSTALLS_ICONS= yes GNU_CONFIGURE= yes -CPPFLAGS+= -I${LOCALBASE}/include -LDFLAGS+= -L${LOCALBASE}/lib INSTALL_TARGET= install-strip GLIB_SCHEMAS= org.gnome.gnome-nettool.gschema.xml -.include - -.if ${OPSYS} == DragonFly || (${OPSYS} == FreeBSD && ${OSVERSION} > 1000000) -RUN_DEPENDS+= ${LOCALBASE}/bin/dig:dns/bind-tools -.endif - .include