freebsd-ports/net-mgmt/mbrowse/Makefile
Baptiste Daroussin ec55e2f521 net-mgmt/mbrowse: reduce overlinking and remove pkg dep
First no ports should ever be depending on pkg directly because it
prevents building with WITH_PKG=devel, they should depend on
${PKG_ORIGIN}.
Second, netsnmp do not expose the pkg API but only consume it, so
program linking to netsnmp should not end up being directly linked to
libpkg!

Patch the configure script to stop asking net-snmp-config for extra libs
which will faultly bring in linking against -lpkg and -lelf, and remove
entirely libpkg as a dependency on the package
2021-05-06 14:23:36 +02:00

26 lines
558 B
Makefile

# Created by: Mark Pulford <mark@kyne.com.au>
PORTNAME= mbrowse
PORTVERSION= 0.4.3
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
USES= gnome pkgconfig ssl
USE_GNOME= cairo gdkpixbuf2 gtk20
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-snmp-prefix=${PREFIX} --with-snmp-type=net
PLIST_FILES= bin/mbrowse
.include <bsd.port.mk>