diff --git a/net-mgmt/mbrowse/Makefile b/net-mgmt/mbrowse/Makefile index b06c8224f5d9..986765ca92c6 100644 --- a/net-mgmt/mbrowse/Makefile +++ b/net-mgmt/mbrowse/Makefile @@ -1,30 +1,26 @@ # Created by: Mark Pulford PORTNAME= mbrowse PORTVERSION= 0.4.3 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= net-mgmt MASTER_SITES= SF/${PORTNAME}/${PORTVERSION} MAINTAINER= eg@fbsd.lt COMMENT= SNMP MIB Browser for X LICENSE= GPLv2 LIB_DEPENDS= libnetsnmp.so:net-mgmt/net-snmp \ libfontconfig.so:x11-fonts/fontconfig \ - libfreetype.so:print/freetype2 \ - libpkg.so:ports-mgmt/pkg + libfreetype.so:print/freetype2 USES= gnome pkgconfig ssl USE_GNOME= cairo gdkpixbuf2 gtk20 GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-snmp-prefix=${PREFIX} --with-snmp-type=net -CPPFLAGS+= `net-snmp-config --cflags` -LDFLAGS+= `net-snmp-config --libs` - PLIST_FILES= bin/mbrowse .include diff --git a/net-mgmt/mbrowse/files/patch-configure b/net-mgmt/mbrowse/files/patch-configure new file mode 100644 index 000000000000..4a7bba697d6e --- /dev/null +++ b/net-mgmt/mbrowse/files/patch-configure @@ -0,0 +1,12 @@ +--- configure.orig 2011-01-28 12:10:11 UTC ++++ configure +@@ -5354,8 +5354,7 @@ $as_echo_n "checking for snmp-type... " >&6; } + if test "x$snmp_prefix" != "x" ; then + if test -x "$snmp_prefix/bin/net-snmp-config" ; then + SNMP_NET_LIBS=`$snmp_prefix/bin/net-snmp-config --netsnmp-libs` +- SNMP_EXT_LIBS=`$snmp_prefix/bin/net-snmp-config --external-libs` +- SNMP_LIBS="$SNMP_NET_LIBS $SNMP_EXT_LIBS" ++ SNMP_LIBS="$SNMP_NET_LIBS" + SNMP_CFLAGS="$SNMP_CFLAGS -DHAVE_NETSNMP" + else + guess_type="ucd"