ports/159253: [PATCH] net-mgmt/php5-snmp dependency broken with net-mgmt/net-snmp 5.7

Tacid tacid at tacid.kiev.ua
Thu Jul 28 10:10:13 UTC 2011


>Number:         159253
>Category:       ports
>Synopsis:       [PATCH] net-mgmt/php5-snmp dependency broken with net-mgmt/net-snmp 5.7
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jul 28 10:10:12 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Tacid
>Release:        8.2-STABLE
>Organization:
>Environment:
FreeBSD example.com 8.2-STABLE FreeBSD 8.2-STABLE #0: Tue Jul 26 12:17:59 EEST 2011     root at shepelp.asterslaw.local:/usr/obj/usr/src/sys/GENERIC  amd64

>Description:
After an update to net-snmp 5.7 php5-snmp failed to compile because the hardcoded LIB_DEPENDS netsnmp.20 in lang/php5/Makefile.ext
>How-To-Repeat:
update to net-mgmt/net-snmp 5.7 and try to recompile net-mgmt/php5-snmp
>Fix:
patch the lang/php5/Makefile.ext

Patch attached with submission follows:

--- lang/php5/Makefile.ext~	2011-07-05 14:59:45.000000000 +0300
+++ lang/php5/Makefile.ext	2011-07-28 12:24:18.000000000 +0300
@@ -313,7 +313,7 @@
 		--with-openssl-dir=${OPENSSLBASE} \
 		--enable-ucd-snmp-hack
 
-LIB_DEPENDS+=   netsnmp.20:${PORTSDIR}/net-mgmt/net-snmp
+LIB_DEPENDS+=   netsnmp:${PORTSDIR}/net-mgmt/net-snmp
 LDFLAGS+=	-L${OPENSSLLIB} -lcrypto -lssl
 USE_OPENSSL=	yes
 .endif


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list