- mcrypt now lib_depends on libtool since it uses libltdl

- patch for snmp to link with libdes
- stop libtool from helpfully mangling the ld.so hints file with
  crap from the ports build directory by removing the finish_command
- MESSAGE file reflects phpxs command
This commit is contained in:
avsm 2002-08-12 04:30:21 +00:00
parent 72c41ca52b
commit 951df1b6a2
4 changed files with 27 additions and 5 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.11 2002/08/07 15:52:05 avsm Exp $
# $OpenBSD: Makefile,v 1.12 2002/08/12 04:30:21 avsm Exp $
PKGNAME= php4-extensions-${V}
COMMENT= "informational package about PHP4 extensions"
@ -134,7 +134,7 @@ CONFIGURE_ARGS+= --without-mcrypt
MULTI_PACKAGES+= -mcrypt
COMMENT-mcrypt= "mcrypt encryption/decryption extensions for php4"
CONFIGURE_ARGS+= --with-mcrypt=shared,${LOCALBASE}
MCRYPT_DEPENDS= mcrypt::security/libmcrypt
MCRYPT_DEPENDS= mcrypt::security/libmcrypt ltdl.1::devel/libtool
.endif
# mhash

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-aclocal_m4,v 1.1 2002/08/12 04:30:21 avsm Exp $
--- aclocal.m4.orig Thu Aug 8 00:42:18 2002
+++ aclocal.m4 Thu Aug 8 00:42:41 2002
@@ -4087,7 +4087,7 @@ openbsd*)
shlibpath_overrides_runpath=yes
fi
library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix'
- finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
+ finish_cmds=
shlibpath_var=LD_LIBRARY_PATH
;;

View File

@ -0,0 +1,11 @@
$OpenBSD: patch-ext_snmp_config_m4,v 1.1 2002/08/12 04:30:21 avsm Exp $
--- ext/snmp/config.m4.orig Wed Jan 16 22:32:40 2002
+++ ext/snmp/config.m4 Thu Aug 8 03:31:16 2002
@@ -52,6 +52,7 @@ PHP_ARG_WITH(snmp,for SNMP support,
if test "$PHP_OPENSSL" != "no"; then
PHP_ADD_LIBRARY(ssl, 1, SNMP_SHARED_LIBADD)
PHP_ADD_LIBRARY(crypto,1, SNMP_SHARED_LIBADD)
+ PHP_ADD_LIBRARY(des ,1, SNMP_SHARED_LIBADD)
else
AC_MSG_ERROR(The UCD-SNMP in this system is built with SSL support.

View File

@ -1,7 +1,6 @@
+---------------
| You must add a line to your ${PHP_CONFIG_FILE}/php.ini
| to enable this module:
| Enable this module in php.ini using the following command:
|
| extension=${MODULE_NAME}.so
| ${PREFIX}/sbin/phpxs -a ${MODULE_NAME}
+---------------