Skip to content

Commit bdeb19f

Browse files
crishojkabel
authored andcommitted
php-imap: PHP 7.4 compatability w/ environment patching
1 parent 42c726d commit bdeb19f

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

Formula/php-imap.rb

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,12 @@ class PhpImap < PhpExtensionFormula
1313
--with-imap-ssl=#{Formula["[email protected]"].opt_prefix}
1414
--with-kerberos
1515
]
16+
17+
def install
18+
ENV["PHP_OPENSSL"] = "yes"
19+
# system pkg-config missing
20+
ENV["KERBEROS_CFLAGS"] = " "
21+
ENV["KERBEROS_LIBS"] = "-lkrb5"
22+
super
23+
end
1624
end

0 commit comments

Comments
 (0)