summaryrefslogtreecommitdiff
path: root/net-mgmt/mbrowse
diff options
context:
space:
mode:
authorTilman Keskinoz <arved@FreeBSD.org>2004-05-06 19:54:14 +0000
committerTilman Keskinoz <arved@FreeBSD.org>2004-05-06 19:54:14 +0000
commit8f32bf9d0af8d950d98245bfab4a588649f6f00d (patch)
tree70984d647223a1d392aba5bed1e2ad6ade40c572 /net-mgmt/mbrowse
parentMake portlint happy by replacing space to tab (diff)
Unbreak after recent net-snmp update.
Comment out the failing configure check. No response from maintainer since April 14
Diffstat (limited to 'net-mgmt/mbrowse')
-rw-r--r--net-mgmt/mbrowse/Makefile11
-rw-r--r--net-mgmt/mbrowse/files/patch-configure20
2 files changed, 24 insertions, 7 deletions
diff --git a/net-mgmt/mbrowse/Makefile b/net-mgmt/mbrowse/Makefile
index e0758ff4ee54..c77e12e9e81d 100644
--- a/net-mgmt/mbrowse/Makefile
+++ b/net-mgmt/mbrowse/Makefile
@@ -20,19 +20,16 @@ LIB_DEPENDS= snmp.4:${PORTSDIR}/net-mgmt/net-snmp4
LIB_DEPENDS= netsnmp.6:${PORTSDIR}/net-mgmt/net-snmp
.endif
-BROKEN= "Configure fails"
-DEPRECATED= ${BROKEN}
-EXPIRATION_DATE=2004-06-18
-
GNU_CONFIGURE= yes
PLIST_FILES= bin/mbrowse
-USE_GNOME= gtk12
-CONFIGURE_ARGS+= --with-snmp-prefix=${LOCALBASE}
+USE_GNOME= gtk12 gnometarget
+CONFIGURE_ARGS+= --with-snmp-prefix=${PREFIX}
.if defined(WITH_NET_SNMP4)
CONFIGURE_ARGS+= --with-snmp-type=ucd
.else
-CONFIGURE_ENV+= LDFLAGS="-L${LOCALBASE}/lib"
+CONFIGURE_ENV+= LDFLAGS="`net-snmp-config --libs`" \
+ CPPFLAGS="`net-snmp-config --cflags`"
CONFIGURE_ARGS+= --with-snmp-type=net
.endif
diff --git a/net-mgmt/mbrowse/files/patch-configure b/net-mgmt/mbrowse/files/patch-configure
new file mode 100644
index 000000000000..985463df3b83
--- /dev/null
+++ b/net-mgmt/mbrowse/files/patch-configure
@@ -0,0 +1,20 @@
+--- configure.orig Thu May 6 21:36:12 2004
++++ configure Thu May 6 21:39:40 2004
+@@ -4765,7 +4765,7 @@
+ rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
+ fi
+ fi
+-
++if 0 ; then
+ if test "x$snmp_fail" != "x" ; then
+ echo
+ echo "***"
+@@ -4784,7 +4784,7 @@
+ echo "$as_me: error: SNMP checks failed" >&2;}
+ { (exit 1); exit 1; }; }
+ fi
+-
++fi
+ CFLAGS="$ac_save_CFLAGS"
+ LDFLAGS="$ac_save_LDFLAGS"
+ LIBS="$ac_save_LIBS"