From owner-svn-ports-all@FreeBSD.ORG Wed Apr 23 01:29:26 2014 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 958963D8; Wed, 23 Apr 2014 01:29:26 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 68C5715DA; Wed, 23 Apr 2014 01:29:26 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s3N1TQhH041466; Wed, 23 Apr 2014 01:29:26 GMT (envelope-from bdrewery@svn.freebsd.org) Received: (from bdrewery@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s3N1TQCT041465; Wed, 23 Apr 2014 01:29:26 GMT (envelope-from bdrewery@svn.freebsd.org) Message-Id: <201404230129.s3N1TQCT041465@svn.freebsd.org> From: Bryan Drewery Date: Wed, 23 Apr 2014 01:29:26 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r351905 - head/net-mgmt/net-snmp X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Apr 2014 01:29:26 -0000 Author: bdrewery Date: Wed Apr 23 01:29:25 2014 New Revision: 351905 URL: http://svnweb.freebsd.org/changeset/ports/351905 QAT: https://qat.redports.org/buildarchive/r351905/ Log: - Remove LIB_DEPENDS on libpkg.so to fix pkg-devel usage. * While this dependency is proper, it creates a hard dependency on ports-mgmt/pkg, which interferes with pkg-devel testing. Users using pkg-devel are forced to install ports-mgmt/pkg if using this port or anything depending on this port. While the LIB_DEPENDS has been removed, pkg will still record that the net-snmp package requires libpkg.so.1, due to its auto shlib dependency registering. This is fine as the package depends on libpkg.so.1 but not explicitly on ports-mgmt/pkg. The pkg solver can decide how to satisfy that dependency. * If using pkg you'll already have pkg installed while building this port in ports or installing from packages. So nothing is lost here. * Once pkg-1.3 is out we may change ACTUAL-PACKAGE-DEPENDS to only consider RUN_DEPENDS, not also LIB_DEPENDS. This would remove the hard dependency on ports-mgmt/pkg here. pkg-1.2 cannot handle this yet though. Reported by: rpaulo Reported at: https://github.com/freebsd/pkg/issues/785 With hat: portmgr Modified: head/net-mgmt/net-snmp/Makefile Modified: head/net-mgmt/net-snmp/Makefile ============================================================================== --- head/net-mgmt/net-snmp/Makefile Wed Apr 23 01:20:44 2014 (r351904) +++ head/net-mgmt/net-snmp/Makefile Wed Apr 23 01:29:25 2014 (r351905) @@ -3,7 +3,7 @@ PORTNAME= snmp PORTVERSION= 5.7.2 -PORTREVISION= 7 +PORTREVISION= 8 CATEGORIES= net-mgmt ipv6 MASTER_SITES= SF/net-${PORTNAME}/net-${PORTNAME}/${PORTVERSION} PKGNAMEPREFIX= net- @@ -15,7 +15,8 @@ COMMENT= An extendable SNMP implementati LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/COPYING -LIB_DEPENDS= libpkg.so:${PORTSDIR}/ports-mgmt/pkg +# pkg-1.2 cannot handle this dependency well. +#LIB_DEPENDS= libpkg.so:${PORTSDIR}/ports-mgmt/pkg OPTIONS_DEFINE= IPV6 MFD_REWRITES PERL PERL_EMBEDDED PYTHON DUMMY TKMIB \ DMALLOC MYSQL AX_SOCKONLY UNPRIVILEGED SMUX