Skip to content

Commit

Permalink
Updated php-embed to 8.3.3.
Browse files Browse the repository at this point in the history
  • Loading branch information
thresheek committed Feb 27, 2024
1 parent 0fd9151 commit 5efd5f7
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions Formula/php-embed.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ class PhpEmbed < Formula
desc "PHP library for embedding in applications"
homepage "https://www.php.net/"
# Should only be updated if the new version is announced on the homepage, https://www.php.net/
url "https://www.php.net/distributions/php-8.2.5.tar.xz"
mirror "https://fossies.org/linux/www/php-8.2.5.tar.xz"
sha256 "800738c359b7f1e67e40c22713d2d90276bc85ba1c21b43d99edd43c254c5f76"
url "https://www.php.net/distributions/php-8.3.3.tar.xz"
mirror "https://fossies.org/linux/www/php-8.3.3.tar.xz"
sha256 "b0a996276fe21fe9ca8f993314c8bc02750f464c7b0343f056fb0894a8dfa9d1"
license "PHP-3.01"

livecheck do
Expand All @@ -23,6 +23,8 @@ class PhpEmbed < Formula
depends_on "php"

on_macos do
depends_on "imap-uw"

# PHP build system incorrectly links system libraries
# see https://github.com/php/php-src/issues/10680
patch :DATA
Expand Down Expand Up @@ -150,6 +152,8 @@ def install

if OS.mac?
args << "--enable-dtrace"
args << "--with-imap=#{Formula["imap-uw"].opt_prefix}"
args << "--with-imap-ssl=#{Formula["openssl@3"].opt_prefix}"
args << "--with-ldap-sasl"
args << "--with-os-sdkpath=#{MacOS.sdk_path_if_needed}"
else
Expand Down

0 comments on commit 5efd5f7

Please sign in to comment.