Ports/imagemagick: Replace --host=... with --with-sysroot

... to prevent linking against libs from build host. I.e. if
Ports/fontconfig is already installed imagemagick tries to
link against it in /usr/local/lib and fails to build.
--host=... will already be passed by ../.port_include.sh
This commit is contained in:
Andre Herbst 2023-07-05 20:47:23 +02:00 committed by Linus Groh
parent a3f6236bec
commit 4844e8869e

View file

@ -5,5 +5,5 @@ workdir="ImageMagick-${version}"
useconfigure="true"
files="https://github.com/ImageMagick/ImageMagick/archive/refs/tags/${version}.tar.gz ${port}-v${version}.tar.gz dd23689304b8cf41572c3af6b0ddccfe21c5b9d9abddaf978f314696408d0750"
auth_type=sha256
configopts=("--host=${SERENITY_ARCH}")
configopts=("--with-sysroot=${SERENITY_INSTALL_ROOT}")
depends=("libpng" "libtiff" "libjpeg")