Created
March 23, 2026 14:23
-
-
Save kolsys/f682489cdf010792f3fba3f87da277a3 to your computer and use it in GitHub Desktop.
mac port php auth_plugin_sha256_password patch
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/lang/php/Portfile | |
| +++ /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/lang/php/Portfile | |
| @@ -341,6 +349,7 @@ | |
| --enable-xmlreader \ | |
| --enable-xmlwriter \ | |
| --with-bz2=${prefix} \ | |
| + --with-kerberos=${prefix} \ | |
| --with-mhash=${prefix} \ | |
| --with-zlib=${prefix} \ | |
| --disable-cgi \ | |
| @@ -363,6 +372,24 @@ | |
| --with-external-pcre=${prefix} | |
| } | |
| + if {[vercmp ${branch} < 7.0]} { | |
| + openssl.branch 1.0 | |
| + } elseif {[vercmp ${branch} < 8.1]} { | |
| + openssl.branch 1.1 | |
| + } else { | |
| + openssl.branch 3 | |
| + } | |
| + | |
| + if {[vercmp ${branch} < 7.4]} { | |
| + configure.args-append --with-openssl=[openssl::install_area] | |
| + } else { | |
| + depends_build-append path:bin/pkg-config:pkgconfig | |
| + configure.args-append --with-openssl | |
| + } | |
| + | |
| + # Look in OpenSSL directories before the main include directory. | |
| + configure.cppflags-replace -I${prefix}/include -isystem${prefix}/include | |
| + | |
| # Ensure we don't regenerate the parsers even if flex/re2c/bison are installed. | |
| configure.env LEX=true \ | |
| RE2C=true \ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment