diff options
author | bdrewery <bdrewery@FreeBSD.org> | 2014-04-23 10:17:35 +0800 |
---|---|---|
committer | bdrewery <bdrewery@FreeBSD.org> | 2014-04-23 10:17:35 +0800 |
commit | aae943d004050d7b91a95f5cada3181173eddb9b (patch) | |
tree | 64afe26cf118f7548c64283bc047b245b248a0fe /net-mgmt | |
parent | df78eac5912c5a001bf2f87106c2d88f8545328c (diff) | |
download | freebsd-ports-gnome-aae943d004050d7b91a95f5cada3181173eddb9b.tar.gz freebsd-ports-gnome-aae943d004050d7b91a95f5cada3181173eddb9b.tar.zst freebsd-ports-gnome-aae943d004050d7b91a95f5cada3181173eddb9b.zip |
- Fix build with pkg_install
Reported by: zi
Diffstat (limited to 'net-mgmt')
-rw-r--r-- | net-mgmt/net-snmp/Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/net-mgmt/net-snmp/Makefile b/net-mgmt/net-snmp/Makefile index 592c1151be65..4fa7855e52ea 100644 --- a/net-mgmt/net-snmp/Makefile +++ b/net-mgmt/net-snmp/Makefile @@ -3,7 +3,7 @@ PORTNAME= snmp PORTVERSION= 5.7.2 -PORTREVISION= 8 +PORTREVISION= 9 CATEGORIES= net-mgmt ipv6 MASTER_SITES= SF/net-${PORTNAME}/net-${PORTNAME}/${PORTVERSION} PKGNAMEPREFIX= net- @@ -16,7 +16,9 @@ LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/COPYING # pkg-1.2 cannot handle this dependency well. -#LIB_DEPENDS= libpkg.so:${PORTSDIR}/ports-mgmt/pkg +.if !defined(WITH_PKGNG) +LIB_DEPENDS= libpkg.so:${PORTSDIR}/ports-mgmt/pkg +.endif OPTIONS_DEFINE= IPV6 MFD_REWRITES PERL PERL_EMBEDDED PYTHON DUMMY TKMIB \ DMALLOC MYSQL AX_SOCKONLY UNPRIVILEGED SMUX |