FreeBSD Bugzilla – Attachment 47145 Details for
Bug 72275
[PATCH] php4 openssl building static
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
php4-openssl-static.patch
php4-openssl-static.patch (text/plain), 1.95 KB, created by
Dmitry A Grigorovich
on 2004-10-03 08:50:26 UTC
(
hide
)
Description:
php4-openssl-static.patch
Filename:
MIME Type:
Creator:
Dmitry A Grigorovich
Created:
2004-10-03 08:50:26 UTC
Size:
1.95 KB
patch
obsolete
>--- Mk/bsd.php.mk.orig Sun Oct 3 12:05:54 2004 >+++ Mk/bsd.php.mk Sun Oct 3 12:54:17 2004 >@@ -259,6 +259,12 @@ > sockets sqlite sybase_ct sysvmsg sysvsem sysvshm \ > tidy tokenizer wddx xml xmlrpc xsl xslt yaz yp zip zlib > >+.if ${PHP_VER} == 4 >+_USE_PHP_DUMMY= openssl >+.else >+_USE_PHP_DUMMY= >+.endif >+ > bcmath_DEPENDS= math/php${PHP_VER}-bcmath > bz2_DEPENDS= archivers/php${PHP_VER}-bz2 > calendar_DEPENDS= misc/php${PHP_VER}-calendar >@@ -333,12 +339,14 @@ > > . for extension in ${USE_PHP} > . if ${_USE_PHP_ALL:M${extension}} != "" && exists(${PORTSDIR}/${${extension}_DEPENDS}) >-. if defined(USE_PHP_BUILD) >+. if ${_USE_PHP_DUMMY:M${extension}} == "" >+. if defined(USE_PHP_BUILD) > BUILD_DEPENDS+= ${LOCALBASE}/lib/php/${PHP_EXT_DIR}/${extension}.so:${PORTSDIR}/${${extension}_DEPENDS} >-. endif >+. endif > RUN_DEPENDS+= ${LOCALBASE}/lib/php/${PHP_EXT_DIR}/${extension}.so:${PORTSDIR}/${${extension}_DEPENDS} >+. endif > . else >-isyes= ${extension} >+isyes= ${extension} > . if ${isyes:L} != "yes" > check-makevars:: > @${ECHO_CMD} "Unknown extension ${extension}." >diff -ur lang/php4.old/Makefile lang/php4/Makefile >--- lang/php4.old/Makefile Sun Aug 8 21:55:19 2004 >+++ lang/php4/Makefile Sun Oct 3 13:07:57 2004 >@@ -33,6 +33,15 @@ > --with-config-file-scan-dir=${PREFIX}/etc/php \ > --disable-all > >+# Need to compile openssl statically >+.if !defined(WITHOUT_OPENSSL) >+CONFIGURE_ARGS+=--with-openssl=${OPENSSLBASE} \ >+ --with-openssl-dir=${OPENSSLBASE} >+ >+LDFLAGS+= -lcrypto -lssl >+USE_OPENSSL= yes >+.endif >+ > .if !defined(WITH_REGEX_TYPE) || ${WITH_REGEX_TYPE} == "php" > CONFIGURE_ARGS+=--with-regex=php > .else >diff -ur lang/php4.old/Makefile.ext lang/php4/Makefile.ext >--- lang/php4.old/Makefile.ext Mon Aug 30 15:22:38 2004 >+++ lang/php4/Makefile.ext Sun Oct 3 13:04:30 2004 >@@ -228,6 +228,7 @@ > .endif > > .if ${PHP_MODNAME} == "openssl" >+BROKEN= "Does not work with php4" > CONFIGURE_ARGS+=--with-openssl=${OPENSSLBASE} \ > --with-openssl-dir=${OPENSSLBASE}
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 72275
: 47145 |
47146