From nobody Sat Oct 29 19:39:31 2022 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 4N08r35RbZz4ggkS; Sat, 29 Oct 2022 19:39:31 +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 4N08r34dPbz3Qgt; Sat, 29 Oct 2022 19:39:31 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1667072371; 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=QmWoc0nJ5pqdkXrx0ffIfNvzE+BW2brrkgV+n1JP2LM=; b=yBdtv/Wmg+1/jgy8iX1U7/rf68ekoqctZrbRhS/SkqZ21eFLcAUrnGjQyy+iKlg3KgZYKy iCcovYwCLtwnE6lYeNvvUy60u0UiqjM5qZ1NuKyivRdndbDxmD1y3tMHi3V5g61z/GIxwH nDe5FTOIjuqfKzfurvjK7lSdLtXtRjDWXS5jEgSGeeWyBpR2oJO+QUnGnkMi4n6+IiBSUI XURL71eHF3gSPLq5Z3G59oeFhhrhBHNGt73BuXcrGj1mXmcd8xBTn1NRqLnC10xrRL9JCt AG1NltUvkRXLO8lNdRhmR1xfVxnwdKPBoeURLjmq6XCLEpmwuvRq5S1JNPWSVQ== 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 4N08r33gzkzTFq; Sat, 29 Oct 2022 19:39:31 +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 29TJdV1m031146; Sat, 29 Oct 2022 19:39:31 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 29TJdVBq031145; Sat, 29 Oct 2022 19:39:31 GMT (envelope-from git) Date: Sat, 29 Oct 2022 19:39:31 GMT Message-Id: <202210291939.29TJdVBq031145@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Daniel Engberg Subject: git: 68f60fd8f526 - main - sysutils/bareos-server: Disable -Werror flag in traymonitor 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: diizzy X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 68f60fd8f526820a7114064213613a0195c2708c Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1667072371; 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=QmWoc0nJ5pqdkXrx0ffIfNvzE+BW2brrkgV+n1JP2LM=; b=t9AEjGAKstf+sBvqlavA4x1Ga+L3JJ0Tb7o5c1rsSAmPFquO/FQOvU2Wp6R/Ji0/5cAMVS 1NMS26QTBQHpJ6BrT/0HKBoTO9CP8aGwBJLcuIkT7wbGdwKMlzYSq6UWrz6gGw4HS4X4NA zeca8CqaUZOTxIIhG4EmUfidIYGTb8qK/SS+3FVJQ6SMf1uhIbTWLZFllrIGnPyGS1W5GJ iB6fJKSY8mw1iDZ/jacrvyXXjZBrXRyL4yuM77IihEK46ovGp2AZmvkv7nnUJG7/Zry5+U DGhlyG/mf5jZEMHtnKORpSzUHjnx+d40kz3EwJ2UGfhpAlxKo3xbxjb7QEfGGw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1667072371; a=rsa-sha256; cv=none; b=hFJK8uxFdAlH3Le3t+PAK0ygO0P+utgB1GMOZiWaUzMeV2dXm+oYSjgPBnXS5Z7eJp4Ak8 fwuAmc/7+aQiT8Ek/llF1ToyUQgojoobZU3Bek3/WhmD2AB2ZyFJkd4pC2n0g2cBJGatC5 SH8wNbIhWRNBHmDrr6bSTGUoC4mVvxLEY75rj158WD3ALsL1MFRKzpS6L0UwgD98ZWJLl6 BwZoeQGMQpBhxexHDThaessWAOwxuXk3utbnjo9/XGm/iyXh+5hg4p1THIfHH6Mhh7DDWf y1id20ymfMuzgNw8i8Aaml3AlRLTegsWqH9lk5gQHJ8YeFItvjVJhvXfUtnyCw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by diizzy: URL: https://cgit.FreeBSD.org/ports/commit/?id=68f60fd8f526820a7114064213613a0195c2708c commit 68f60fd8f526820a7114064213613a0195c2708c Author: Daniel Engberg AuthorDate: 2022-10-29 19:20:57 +0000 Commit: Daniel Engberg CommitDate: 2022-10-29 19:38:58 +0000 sysutils/bareos-server: Disable -Werror flag in traymonitor When -DNDEBUG is defined -Werror needs to be disabled otherwise (leaf) port won't build This is the same fix as for client leaf port Commit: 15fd15478b93d0264ea9bd8af4acff12c2dbde95 PR: 266721 Reviewed by: antoine (via exp-run) Approved by: portmgr (blanket, build fix) --- sysutils/bareos-server/Makefile.common | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sysutils/bareos-server/Makefile.common b/sysutils/bareos-server/Makefile.common index 9386c35cd09e..efd76eea1dfe 100644 --- a/sysutils/bareos-server/Makefile.common +++ b/sysutils/bareos-server/Makefile.common @@ -1,5 +1,8 @@ post-patch: @${REINPLACE_CMD} '76,79d' ${WRKSRC}/CMakeLists.txt +.if ${PKGNAMESUFFIX} == "-traymonitor" + @${REINPLACE_CMD} -e 's|-Werror -Wall|-Wall|g' ${PATCH_WRKSRC}/core/CMakeLists.txt +.endif post-build: .if ${PKGNAMEPREFIX} == "nagios-check_"