Skip to content

Commit

Permalink
php-imagick: Two fixes for IM7
Browse files Browse the repository at this point in the history
.

* Two IM7 fixes, on top of Bjarne's PHP84 updates.
  • Loading branch information
Dave-Allured authored Feb 6, 2025
1 parent 2e4203c commit 09976ec
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions php/php-imagick/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ categories-append graphics
maintainers {ryandesign @ryandesign} openmaintainer
license PHP-3.01

php.branches 5.3 5.4 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3
php.branches 5.3 5.4 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3 8.4
php.pecl yes

description PHP extension to create and modify images with \
Expand All @@ -20,7 +20,7 @@ long_description Imagick is a native PHP extension for creating and \
if {[vercmp ${php.branch} >= 5.4]} {
epoch 1
version 3.7.0
revision 1
revision 2
checksums rmd160 60d5c6cc154b65bdfd31be6980633ff1e659bc73 \
sha256 5a364354109029d224bcbb2e82e15b248be9b641227f45e63425c06531792d3e \
size 360138
Expand All @@ -29,7 +29,7 @@ if {[vercmp ${php.branch} >= 5.4]} {
# https://pecl.php.net/package-info.php?package=imagick&version=3.4.0RC1
epoch 2
version 3.3.0
revision 1
revision 2
checksums rmd160 5746dc20ed455049a6eb5cea8dfe2b6c702c8f7c \
sha256 bd69ebadcedda1d87592325b893fa78a5710a0ca7307f8e18c5e593949b1db2d \
size 179978
Expand All @@ -39,9 +39,13 @@ if {${name} ne ${subport}} {
depends_build-append \
path:bin/pkg-config:pkgconfig

depends_lib-append port:ImageMagick
depends_lib-append port:ImageMagick7

configure.args --with-imagick=${prefix}
configure.args --with-imagick=${prefix}/lib/ImageMagick7

# Temporary, imagick 3.7.0, remove when fixed in new upstream version.
# https://github.com/Imagick/imagick/pull/690#issuecomment-2566064269
configure.cflags-append -Dphp_strtolower=zend_str_tolower

post-destroot {
set docdir ${prefix}/share/doc/${subport}
Expand Down

0 comments on commit 09976ec

Please sign in to comment.