From nobody Thu Feb 22 17:22:19 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 4Tgg1l32nbz5B1f6; Thu, 22 Feb 2024 17:22:19 +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 4Tgg1l2c0dz4Vj2; Thu, 22 Feb 2024 17:22:19 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1708622539; 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=gnESsYzleGVNWY2ZG8zVYgcSD3uulQCz2vq8ybZ1wV8=; b=oag9LibppoJANAM+civkir22PKHrUBmodqGLf1+jwQID+eGVrm2JJDRFF+UyHwCnlTI2Py myF+SAi8B052oPS4itpNjx9CY5UdU8SUUtnCMf3JQhZ6RZpTO8YuvR3AJB4zRIp5/lPnOI RcRclg/hZ5O1AfYRcS5RZMdHpYwrrQXxkT7zB7+vmXX8RuK6w8iqJxP8cxhoSNpUYBd3HI NTgSGU+VV48S/9a/gkn6ChcXmB9r9g1ar8NHjUykDMjzOZJMzVC2l/6Jf6oKQM9oUQNXEz CZqo9AV+pazCqc72ibTicivJGkqo/MKFBinnsSduWRs6m9Nvzns2zrNkycY79w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1708622539; 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=gnESsYzleGVNWY2ZG8zVYgcSD3uulQCz2vq8ybZ1wV8=; b=E2efqU7fMNaoPpGI02ZLGvs8kwhJIJmMj8cpN5R6rfWlsaDjh9Qj93JIYdGLZx+gxRJS4B /nnBcF/jJI3dHJa8PARA7ioFxI0qhCspipXmjZuR4UPrGvLxyDaNLB64lTH6tr5He/Iw5t 4x0pYYVjG5Nsai6T5hUE3XHQQuctIJXXzaKi+sCv5ykxZaGHN7YVM6LItqHiizpYom1mh8 QbOlXE60dRI3is4hsCLMg9OxgfqWGhyV4lLGwqO+ryD2MTSv5WomfMUhSEap0fB+rdLkhY Lnz7zTOAXhRJogCsHRwutqHrv9SIM5TDcdj850ObM5z9GF3YD+MMX7na8MiNEA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1708622539; a=rsa-sha256; cv=none; b=ZWQ4P8xShWewBWBu0aPnryFr+OA0GHkdB2YviwOOymr1jOWKoApo1q4eNuJIx84kVfDxcT MXSmjL7nMEojX8ida43cGhlen1z+aXjQl2U4EE+v4dVS9pNUN0zkhTKfGYIRK5pS8pJfvS p5F92haZyKrxdvHPA/b2k0v21SBwXRjMH4aNTFcv6caP9JIlC0todrmWq95PfXDh3V2p5e HTPUom5cEQTNmPsA1AlXdhyjtD3O9s3XspCmIkNAP0iaOaCs1hoYpt8KcR4swlQDNh//gK nPicsbvVZbSLrf3hWY5Bhy8fqz8RME6Iex9HWgHZwDBRDmLz997ewijZPnqC6A== 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 4Tgg1l1gZmzgqk; Thu, 22 Feb 2024 17:22:19 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 41MHMJY3013320; Thu, 22 Feb 2024 17:22:19 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 41MHMJuw013317; Thu, 22 Feb 2024 17:22:19 GMT (envelope-from git) Date: Thu, 22 Feb 2024 17:22:19 GMT Message-Id: <202402221722.41MHMJuw013317@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Max Brazhnikov Subject: git: e86f4ac96421 - main - archivers/zlib-ng: fix build with TEST option 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: makc X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: e86f4ac9642148525a2b4356dc211526226acdd5 Auto-Submitted: auto-generated The branch main has been updated by makc: URL: https://cgit.FreeBSD.org/ports/commit/?id=e86f4ac9642148525a2b4356dc211526226acdd5 commit e86f4ac9642148525a2b4356dc211526226acdd5 Author: Max Brazhnikov AuthorDate: 2024-02-22 17:21:37 +0000 Commit: Max Brazhnikov CommitDate: 2024-02-22 17:21:37 +0000 archivers/zlib-ng: fix build with TEST option PR: 277098 Approved by: maintainer --- archivers/zlib-ng/Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/archivers/zlib-ng/Makefile b/archivers/zlib-ng/Makefile index 7381f615a448..d10a587b2a85 100644 --- a/archivers/zlib-ng/Makefile +++ b/archivers/zlib-ng/Makefile @@ -8,7 +8,7 @@ WWW= https://github.com/zlib-ng/zlib-ng LICENSE= ZLIB -USES= cmake compiler:c11 +USES= cmake:${TESTING} compiler:c11 USE_LDCONFIG= yes USE_GITHUB= yes @@ -16,8 +16,10 @@ OPTIONS_DEFINE= SIMD TEST SIMD_CMAKE_BOOL= WITH_OPTIM TEST_BUILD_DEPENDS= googletest>=0:devel/googletest +TEST_VARS= TESTING=testing TEST_CMAKE_BOOL= ZLIB_ENABLE_TESTS ZLIBNG_ENABLE_TESTS -TEST_BROKEN= error: use of undeclared identifier 'isascii' +# error: use of undeclared identifier 'isascii' +TEST_CFLAGS= -D__XSI_VISIBLE PLIST_SUB= SHLIB_VER=${DISTVERSION}