From nobody Mon Mar 27 21:27:43 2023 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 4PlmB8066Gz425lB; Mon, 27 Mar 2023 21:27:44 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PlmB76cg9z3lcH; Mon, 27 Mar 2023 21:27:43 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1679952463; 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=PS5GEIb9a5DxW+AGXoIRSF8zUEiMszAq8YiK0j9Yfn0=; b=sOGqW5vg1Nt8pUfZ+EpB+tuTHgBOVcKS+nP/NknzKGsYbnwBqoVlYdLfL9x99tmAxI6AdN qhiRowVw80pgROaC0UPdQvEkf58ZZLWXBsU/fdHajO+2J9CsQYKFmGKEGG/CjFDIImS+Hs Ac+R8Apy7Xc5IjbK3wYYFvHcekzB39bxI+4xRF80XvvyTUTiH9E7aAFsTGKEujEWwrIi6F 8qq76OGx46tqILnSAAqS7NYWTDRjXrbbVxorePpHCQ446whXccDXap1BXfthmWvFv2bTsg B54HySPOBOGW0lXxTC+sCPmiqtHL9TBJviQtn1KbeFNgUQiMiVwiCoXRXQDPnA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1679952463; 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=PS5GEIb9a5DxW+AGXoIRSF8zUEiMszAq8YiK0j9Yfn0=; b=WVrMHYuJystFWK0nfxzYmkp5noVaX5EkNhoKAKu0NH9hEk5B0YlRceU49BWjo/Yn4YRCWD r6n55dJOI0dM4WOXOZcVMBG8UjRl21KeyOrNCuqeWjTmNQqxq3J4SiCQELyEYdv2zcYHZU Sw6LCCVFukdN9vFKjrr5AnjhnIXjf+PypvGrkIn9TmOUmIvl48urilEXjTgr0gEEbN7074 bZpp1rSAO6WQVmDnEiUY8U4AW5w8xIcbVj9ABZN0w+84jfH00Sx3W9aZ8duKWOWHxNbQbP B0ryHregoc75VJjgIjzHfQFok2j+BjpZXRU7dcbL2e/cZQtnpUQA4jM+j9tjcA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1679952463; a=rsa-sha256; cv=none; b=fiSbcVfXCFDYCL2y1WiyFwKMUWo/jpVdQe+DwAmZ1vz+TWdONNOFKwZhIjPZCFRJsxZfWC lej0FQQLiq5NbTtZ+1fzj5gJqA895llrMewK6on3MVTgxkdLrdDwLTcVZ8+6wQYHec8vUC z2nYA+iVl1+tUTCnpmx6kFEzE8XRHKzdWxwA0S7YoivZp1EuyItCM52USuJhkPHYh6JzKK nTTiZ+fmqZY5iK9xpC7QVvLxtymOIYFvKMQvq33FvBzxVcAVgTxITZ/sTkBrJ9pItwD/M1 7gcX3/RHejtQJPCYiHmdOUfnKAfAHRB3WGQat9OGxbSI8EiVJNKDdBcGKSTaCA== 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 4PlmB75JWDzdFP; Mon, 27 Mar 2023 21:27:43 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 32RLRhJ9050098; Mon, 27 Mar 2023 21:27:43 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 32RLRhKZ050097; Mon, 27 Mar 2023 21:27:43 GMT (envelope-from git) Date: Mon, 27 Mar 2023 21:27:43 GMT Message-Id: <202303272127.32RLRhKZ050097@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Yuri Victorovich Subject: git: 768a948f0ca4 - main - graphics/art: Add LTO option enabled by default 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: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: yuri X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 768a948f0ca4bf987c88798c92611e4ec6a0b66d Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=768a948f0ca4bf987c88798c92611e4ec6a0b66d commit 768a948f0ca4bf987c88798c92611e4ec6a0b66d Author: Yuri Victorovich AuthorDate: 2023-03-27 15:02:03 +0000 Commit: Yuri Victorovich CommitDate: 2023-03-27 21:27:40 +0000 graphics/art: Add LTO option enabled by default Users particularly care about the performance of ART, so it makes sense to enable the LTO option. --- graphics/art/Makefile | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/graphics/art/Makefile b/graphics/art/Makefile index bfd712f29d6d..914b7a061af4 100644 --- a/graphics/art/Makefile +++ b/graphics/art/Makefile @@ -1,6 +1,6 @@ PORTNAME= art DISTVERSION= 1.19.3 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= graphics MASTER_SITES= https://bitbucket.org/agriggio/art/downloads/ PKGNAMESUFFIX= -raw-image-editor @@ -39,9 +39,14 @@ EXTRACT_CMD= gtar LDFLAGS+= -lpthread # otherwise build breaks on some systems: error: undefined symbol: pthread_create +OPTIONS_DEFINE= LTO +OPTIONS_DEFAULT= LTO + +LTO_CMAKE_BOOL= WITH_LTO + .if exists(/usr/include/omp.h) -OPTIONS_DEFINE= OPENMP -OPTIONS_DEFAULT= OPENMP +OPTIONS_DEFINE+= OPENMP +OPTIONS_DEFAULT+= OPENMP OPENMP_CMAKE_BOOL= OPTION_OMP .else