FreeBSD Bugzilla – Attachment 29276 Details for
Bug 48942
update-port: www/mod_php4
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
mod_php4.patch
mod_php4.patch (text/plain), 1.37 KB, created by
Oliver Lehmann
on 2003-03-05 07:20:09 UTC
(
hide
)
Description:
mod_php4.patch
Filename:
MIME Type:
Creator:
Oliver Lehmann
Created:
2003-03-05 07:20:09 UTC
Size:
1.37 KB
patch
obsolete
>diff -ruN mod_php4.old/scripts/configure.php mod_php4/scripts/configure.php >--- mod_php4.old/scripts/configure.php Wed Mar 5 05:28:38 2003 >+++ mod_php4/scripts/configure.php Wed Mar 5 07:23:18 2003 >@@ -256,10 +256,18 @@ > echo "CONFIGURE_ARGS+=--with-openssl=\${OPENSSLBASE}" > ;; > \"SNMP\") >- echo "LIB_DEPENDS+= snmp.4:\${PORTSDIR}/net/net-snmp4" >- echo "CONFIGURE_ARGS+=--with-snmp=\${LOCALBASE} --enable-ucd-snmp-hack --with-openssl=\${OPENSSLBASE}" >- echo "USE_OPENSSL= yes" >- LIBS="${LIBS} -L\${OPENSSLBASE}/lib -lcrypto -lssl" >+ echo "LIB_DEPENDS+= snmp.4:\${PORTSDIR}/net/net-snmp4" >+ echo "CONFIGURE_ARGS+=--with-snmp=\${LOCALBASE} --enable-ucd-snmp-hack" >+ >+ # if .4 is compiled with OpenSSL, PHP depends on OpenSSL too. >+ # if .5 and not .4 installed, we are in need to install .4 (which compiles default with SSL) >+ # if .4 and .5 is present in the system, we can't be shure that sbin/snmp is from net-snmp4 >+ if ([ -r ${LOCALBASE}/lib/libsnmp.so.4 ] && /usr/bin/ldd ${LOCALBASE}/sbin/snmpd 2> /dev/null | /usr/bin/grep -q "libcrypto") || [ -r ${LOCALBASE}/lib/libnetsnmp.so ]; then >+ >+ echo "CONFIGURE_ARGS+= --with-openssl=\${OPENSSLBASE}" >+ echo "USE_OPENSSL= yes" >+ LIBS="${LIBS} -L\${OPENSSLBASE}/lib -lcrypto -lssl" >+ fi > ;; > \"XML\") > if [ -z "$XML" ]; then
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 48942
: 29276