Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Jul 2011 10:07:23 GMT
From:      Tacid <tacid@tacid.kiev.ua>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/159253: [PATCH] net-mgmt/php5-snmp dependency broken with net-mgmt/net-snmp 5.7
Message-ID:  <201107281007.p6SA7Nhw072576@red.freebsd.org>
Resent-Message-ID: <201107281010.p6SAADLZ089135@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201107281007.p6SA7Nhw072576>