ports/55507: lang/php4 compiles with unexcpected libs
Dirk Meyer
dirk.meyer at dinoex.sub.org
Tue Oct 7 17:10:13 UTC 2003
The following reply was made to PR ports/55507; it has been noted by GNATS.
From: dirk.meyer at dinoex.sub.org (Dirk Meyer)
To: freebsd-gnats-submit at FreeBSD.org
Cc:
Subject: Re: ports/55507: lang/php4 compiles with unexcpected
libs
Date: Tue, 07 Oct 2003 18:57:15 +0200
Would be nice to make seperate options in visual config.
kind regards Dirk
- Dirk Meyer, Im Grund 4, 34317 Habichtswald, Germany
- [dirk.meyer at dinoex.sub.org],[dirk.meyer at guug.de],[dinoex at FreeBSD.org]
A possible fix:
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/lang/php4/Makefile,v
retrieving revision 1.30
diff -u -r1.30 Makefile
--- Makefile 7 Oct 2003 16:45:15 -0000 1.30
+++ Makefile 7 Oct 2003 16:56:17 -0000
@@ -578,8 +578,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
More information about the freebsd-ports-bugs
mailing list