Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Nov 2003 14:42:27 +0100 (CET)
From:      dirk.meyer@dinoex.sub.org
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/58920: lang/php4 compiles with unexcpected libs
Message-ID:  <200311041342.hA4DgR4r067215@home.dinoex.sub.de>
Resent-Message-ID: <200311041350.hA4DoKKY082051@freefall.freebsd.org>

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

>Number:         58920
>Category:       ports
>Synopsis:       lang/php4 compiles with unexcpected libs
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Nov 04 05:50:19 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Dirk Meyer
>Release:        FreeBSD 5.1-CURRENT i386
>Organization:
privat
>Environment:

	FreeBSD 4.8-STABLE, FreeBSD-5.1-STABLE

>Description:

	Building on a clean system,
	php4 can't be build with snmp4 support.
	it will only use net/net-snmp (version5)

>How-To-Repeat:

$ make WITH_SNMP=yes all-depends-list
/usr/ports/converters/libiconv
/usr/ports/databases/mysql40-client
/usr/ports/devel/autoconf213
/usr/ports/devel/bison
/usr/ports/devel/gettext
/usr/ports/devel/libtool13
/usr/ports/devel/m4
/usr/ports/devel/mm
/usr/ports/net/net-snmp
/usr/ports/security/openssl
/usr/ports/sysutils/rc_subr
/usr/ports/textproc/expat2
/usr/ports/www/apache13-modssl

>Fix:

	make a explicit option in the configure script or
	apply this patch:

	- new sub-obtions to force dependencies explicit:
	WITH_SNMP4,

Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/lang/php4/Makefile,v
retrieving revision 1.32
diff -u -r1.32 Makefile
--- Makefile	13 Oct 2003 05:59:45 -0000	1.32
+++ Makefile	4 Nov 2003 13:37:11 -0000
@@ -580,8 +580,8 @@
 CONFIGURE_ARGS+=--with-ncurses=${NCURSESBASE}
 .endif
 
-.if defined(WITH_SNMP)
-.if exists(${LOCALBASE}/lib/libsnmp.so.4)
+.if defined(WITH_SNMP) || defined(WITH_SNMP4)
+.if exists(${LOCALBASE}/lib/libsnmp.so.4) || defined(WITH_SNMP4)
 LIB_DEPENDS+=	snmp.4:${PORTSDIR}/net/net-snmp4
 .else
 LIB_DEPENDS+=	netsnmp.5:${PORTSDIR}/net/net-snmp
>Release-Note:
>Audit-Trail:
>Unformatted:



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