From 4844e8869eb70aca3504931b72887ee129a34f30 Mon Sep 17 00:00:00 2001 From: Andre Herbst Date: Wed, 5 Jul 2023 20:47:23 +0200 Subject: [PATCH] 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 --- Ports/imagemagick/package.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Ports/imagemagick/package.sh b/Ports/imagemagick/package.sh index 3084ff6e79..0b890138fb 100755 --- a/Ports/imagemagick/package.sh +++ b/Ports/imagemagick/package.sh @@ -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")