summaryrefslogtreecommitdiffstats
path: root/net-mgmt/mbrowse
diff options
context:
space:
mode:
authorarved <arved@FreeBSD.org>2004-05-06 19:54:14 +0000
committerarved <arved@FreeBSD.org>2004-05-06 19:54:14 +0000
commit84dd2f9e6a8841705ee7e454ac4cfc7269ef7711 (patch)
tree1d206dfd361c3c3df28c439c66147ecc8d6dbf9a /net-mgmt/mbrowse
parent0b7cae99d95cb6f9e01f28b743bfe78cdd891f95 (diff)
downloadFreeBSD-ports-84dd2f9e6a8841705ee7e454ac4cfc7269ef7711.zip
FreeBSD-ports-84dd2f9e6a8841705ee7e454ac4cfc7269ef7711.tar.gz
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 e0758ff..c77e12e 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 0000000..985463d
--- /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"
OpenPOWER on IntegriCloud