From nobody Wed Nov 22 05:02:59 2023 X-Original-To: dev-commits-ports-all@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 4SZpz74nhQz51p8l; Wed, 22 Nov 2023 05:02:59 +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 4SZpz74FFCz4H71; Wed, 22 Nov 2023 05:02:59 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1700629379; 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=dDJooOlpw83NnRONAoJhILsGB98eQ+epfXN4vktv+80=; b=xhGY7LAXeF9XoiT+1Xy6sQGw97xwTflBhoxvh42tIPEvKqBhLPZXM9ZRMwUcQMl7lf2hkr qtlfJ2+3a3eqwSn6rPFeQUGiVtLnQn2reoecSY59GPPRRppHRyekfML9lTmFv3+wb6cmlT QGSrqTGzBAg0FU50ogHAi3L+d6FfwO7rAGFK193ydWl+NiUITQgDjG8F9nk66qWr95obmM IY/8Q57r9TJHwJWbzv4yjQFNsKTaIfn6op43nb7PX7LGNzDcpg7eQCD6c1JRHO0JS1Uu5o ibs5qCmgv/9R4XV0lUQHL4eQsM2CMPlN38O3mCMzKgcgW7XafyRE6Lp7h+ocDA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1700629379; 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=dDJooOlpw83NnRONAoJhILsGB98eQ+epfXN4vktv+80=; b=SOo52ezy4Gv22e3alHFQH3p2byzCO7+Z5zCMIXIINaq5ouRFm5/n7OBggXeaHCrZ0WQwJI sbhPwDrQjrHvKaatorWjf8KFBbGs/r2aQPHJ1B9So8Letql7TE7XcwnmSc7AcXiXAnCAPd FHuE4ZI9uxaRYeuac4zQWzPGyp5FYoCvcKBT1XblD9aYJVIQJH0qLi+Uu1aXZjuZ3a2NJ4 11SOsG70Z94iam08paazOSpFAckojNO3S8NaUoK7LW+Es5spurCi+lojt4w1HNUPbLCj7h XK3FPlzXvcOUZWqpJAccGWat1spaeqJWIA6VgM93hvBtwp1R1DrUe9a6i/nBHA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1700629379; a=rsa-sha256; cv=none; b=I0jRhBRyAzNMi+C9v+GnzMrRx+2P3GbwaMzozrVdmG67XBg0JMg03sG3B0/38Rcof0lk4H PupRko780yIjj5745pFPT2T/TzLYoyNJhXAeiLPMScfiWy2wC700h/E5NcMsxJeD7RuCNr GY7hIUixS/D057UgwlJHJ+XX60PJSFQugWLuf+MZXBxsrHDogX9kWuVcbndPkgKHNqernP znACskMmpFkx7PSf2f1aAScKkhB80c/Lj0eKErxBMh24/OInnZFjh2C7/KyGBVIo+KWCm9 S9QstgJzaCF6WhmVOscPW2+WAlc35Mi1uSs+Kpx7q0qhU19JOUsORGlHNjPG+w== 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 4SZpz73JPVz1533; Wed, 22 Nov 2023 05:02:59 +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 3AM52xiD099622; Wed, 22 Nov 2023 05:02:59 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 3AM52xxn099619; Wed, 22 Nov 2023 05:02:59 GMT (envelope-from git) Date: Wed, 22 Nov 2023 05:02:59 GMT Message-Id: <202311220502.3AM52xxn099619@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Xin LI Subject: git: a7d1b84d1fa8 - main - devel/log4cplus: Update to 2.1.1 and fix "make test" List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: delphij X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: a7d1b84d1fa81ea9f1813701dadf9742ddf4237d Auto-Submitted: auto-generated The branch main has been updated by delphij: URL: https://cgit.FreeBSD.org/ports/commit/?id=a7d1b84d1fa81ea9f1813701dadf9742ddf4237d commit a7d1b84d1fa81ea9f1813701dadf9742ddf4237d Author: Daniel Engberg AuthorDate: 2023-11-22 05:02:08 +0000 Commit: Xin LI CommitDate: 2023-11-22 05:02:08 +0000 devel/log4cplus: Update to 2.1.1 and fix "make test" PR: ports/275195 --- devel/log4cplus/Makefile | 24 ++++++++++++++++++------ devel/log4cplus/distinfo | 6 +++--- 2 files changed, 21 insertions(+), 9 deletions(-) diff --git a/devel/log4cplus/Makefile b/devel/log4cplus/Makefile index a5c741d91797..9c43e3f5cf8b 100644 --- a/devel/log4cplus/Makefile +++ b/devel/log4cplus/Makefile @@ -1,7 +1,7 @@ PORTNAME= log4cplus -PORTVERSION= 2.1.0 +DISTVERSION= 2.1.1 CATEGORIES= devel -MASTER_SITES= https://github.com/${PORTNAME}/${PORTNAME}/releases/download/REL_${PORTVERSION:S:.:_:g}/ +MASTER_SITES= https://github.com/${PORTNAME}/${PORTNAME}/releases/download/REL_${DISTVERSION:S:.:_:g}/ MAINTAINER= delphij@FreeBSD.org COMMENT= Logging library for C++ @@ -10,15 +10,24 @@ WWW= https://log4cplus.github.io/log4cplus/ LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE -USES= cmake compiler:c++11-lang tar:xz - -OPTIONS_DEFINE= DOCS +TEST_DEPENDS= catch>=0:devel/catch +USES= cmake:testing compiler:c++11-lang pathfix tar:xz USE_LDCONFIG= yes -CMAKE_OFF= LOG4CPLUS_BUILD_TESTING + +EXTRACT_AFTER_ARGS= --exclude catch + +.if ${.TARGETS} == "test" +CXXFLAGS+= -I${LOCALBASE}/include/catch2 +.endif PORTDOCS= * +CMAKE_TESTING_ON= LOG4CPLUS_BUILD_TESTING WITH_UNIT_TESTS +CMAKE_OFF= LOG4CPLUS_BUILD_TESTING WITH_UNIT_TESTS + +OPTIONS_DEFINE= DOCS + DOCS_BUILD_DEPENDS= doxygen:devel/doxygen post-build-DOCS-on: @@ -28,4 +37,7 @@ post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/docs/html/* ${STAGEDIR}${DOCSDIR} +pre-test: + ${RM} ${BUILD_WRKSRC}/CMakeCache.txt + .include diff --git a/devel/log4cplus/distinfo b/devel/log4cplus/distinfo index 2161965e5422..a09e651d23cf 100644 --- a/devel/log4cplus/distinfo +++ b/devel/log4cplus/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1687763458 -SHA256 (log4cplus-2.1.0.tar.xz) = d84ac8b1c46645122fbf72691f8eacef68c71b587403ee833bd9a252e06d46cc -SIZE (log4cplus-2.1.0.tar.xz) = 940796 +TIMESTAMP = 1700396330 +SHA256 (log4cplus-2.1.1.tar.xz) = a1d8e67a207f90a9dd4f82b28a1f3ac6dead5a80c2bed071277a9e865698a82b +SIZE (log4cplus-2.1.1.tar.xz) = 941168