From nobody Tue Nov 05 14:58:02 2024 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4XjWfg0dvyz5cBwS; Tue, 05 Nov 2024 14:58:03 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XjWfg07b6z57qt; Tue, 5 Nov 2024 14:58:03 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1730818683; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=AF/wQxorp5RGRtFJFx7NE/Xk5xoWsSdT8F08x8LA3aY=; b=h62lYsbQDv0Llu1VUTqOowGU9QjDjMQKAN0ydWW+PXhVOlcXTwBMWvBj7NlPFYbgyUKXD3 wyV1fO739pxNcGEHAh3z37Gb/ATCjuRtC9M/mRQ3ejMFqTXXVF5UB4KadwzsDEuVtYK6k9 4SjGyIKiE1ke/SU6Of/uGWbzbIHE9DfVMIWsnIIuuS3AUaJy2RhdQpzXeJZRKv6R6dHZuq wk7vtiYyxyZ85etfjwr/xq+1XGgvBf7yYRpE9Cod5t5K23PmdPEDmuXYeHQQ6gtlyv+hxv bg1yJ7EHgpRJQAfoCyJtn3OfYU/72sNOKkNt0whB5CwYbwCSZAda5ISGN1pdVA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1730818683; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=AF/wQxorp5RGRtFJFx7NE/Xk5xoWsSdT8F08x8LA3aY=; b=IYyqcbqDGg/1Zu9P5E5ivHlg7XlqKEtRkrgguc0EW77CVdkJ5IqeQAFdSEX33uKaBZAJnj H8RErdhZucZqtqbm8YHBOKD2/IMwWcdNsZqvEd6BzyXyE1qTUExD6YkOS8kURdJTWrxexu dlkL2y7wyxaXSNWHuDq7uzBmTkY6+5GA3ajr5fpibRDswp7FQTBFQKhftIA3HcoXOpuDHv ggvXjazqieYHo5cdKgCMVuxNCOX8rj+Kh6EkF4rvAaO2lgOQRK4speUz/8Vv4Txghk/jrx r2oB1zJiHyUU6DBc2gEyDRYFQF6NTlR0GSXu0Mki8UCgKugoquc8MdKF7H9afg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1730818683; a=rsa-sha256; cv=none; b=RgGi8FAV94NwpAwj48VyThf+Zs5RMztOo3JguTarZ1hm1ZtmBcShPkdllJkMBWLKRTOeKR 0t2JJak3YrE83kmHjcYHuHVcCpDFaQMBLSoGo9pnry6Rv7yQZqeS6uVe6HuyG3HKAlCbHs Gugs3d0/aIv45XeW1xwkh2qGun6OBqr/qCnpAlI/lRpDWdPE+IRMKl9WCCpx6Hr+0oSAuP V68YNGSHKpt8y/w3OWFB+oDPGkp4lyx7BsIgH2NVxAg90ZS/7LVnISCdx8RKIrzFBWloah Yi83VVGXbaMluPyd7YwPzyYv67PRF86e54JInd/GXbidjyHzyic4r8DxxuE1FA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4XjWff6rjwzMPD; Tue, 5 Nov 2024 14:58:02 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 4A5Ew2Kf035822; Tue, 5 Nov 2024 14:58:02 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 4A5Ew2lk035819; Tue, 5 Nov 2024 14:58:02 GMT (envelope-from git) Date: Tue, 5 Nov 2024 14:58:02 GMT Message-Id: <202411051458.4A5Ew2lk035819@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Piotr Kubaj Subject: git: 7dbe2e17c9fb - main - graphics/libjxl: fix build on big-endian List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: pkubaj X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 7dbe2e17c9fb7b1c3a802d34c2ba7d7b3ef87456 Auto-Submitted: auto-generated The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=7dbe2e17c9fb7b1c3a802d34c2ba7d7b3ef87456 commit 7dbe2e17c9fb7b1c3a802d34c2ba7d7b3ef87456 Author: Piotr Kubaj AuthorDate: 2024-11-05 10:35:40 +0000 Commit: Piotr Kubaj CommitDate: 2024-11-05 14:55:47 +0000 graphics/libjxl: fix build on big-endian -- Big-endian architecture detected; defaulting to lcms2 instead of skcms --- graphics/libjxl/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/graphics/libjxl/Makefile b/graphics/libjxl/Makefile index 68c007d02c41..adced72d2797 100644 --- a/graphics/libjxl/Makefile +++ b/graphics/libjxl/Makefile @@ -60,6 +60,12 @@ PIXBUF_CMAKE_BOOL= JPEGXL_ENABLE_PLUGIN_GDKPIXBUF PNG_LIB_DEPENDS= libpng.so:graphics/png PNG_CMAKE_BOOL_OFF= CMAKE_DISABLE_FIND_PACKAGE_PNG +.include + +.if ${ARCH} == powerpc || ${ARCH} == powerpc64 +LIB_DEPENDS+= liblcms2.so:graphics/lcms2 +.endif + post-patch: @${REINPLACE_CMD} 's,/usr,${LOCALBASE},' \ ${WRKSRC}/plugins/gdk-pixbuf/jxl.thumbnailer