Authentication-Results: name.execsw.org; dkim=pass (1024-bit key) header.d=netbsd.org header.i=@netbsd.org header.b=e63T54PE; dkim=pass (1024-bit key) header.d=netbsd.org header.i=@netbsd.org header.b=jnTD9wkw Received: by mail.netbsd.org (Postfix, from userid 605) id 7FC2884E97; Wed, 8 May 2024 18:16:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=netbsd.org; s=20240131; t=1715192201; bh=7BC7moWrFOrZPtO1UKHTRl2Gg3Y/NqHwBSf4TxUWPHw=; h=Date:From:Subject:To:Reply-To:List-Id:List-Unsubscribe; b=e63T54PERV0V8RKa/ciojfJnEHTCnw2+mlCndg76SfK9MwlJ666y4Ou0fEX14rSMd c3QUbqKOYwjQes6ifBhKxQDqTxzmcejOjubuqme0MCPevoD7V2HFanM2WUgchTaH/d hbk36piUarwvPQASaTRAOqoEJF1bEVYM9maan9KU= Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 7104284E93 for ; Wed, 8 May 2024 18:16:40 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Authentication-Results: mail.netbsd.org (amavisd-new); dkim=pass (1024-bit key) header.d=netbsd.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.netbsd.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id 7TqRf1306fYl for ; Wed, 8 May 2024 18:16:39 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.NetBSD.org [IPv6:2001:470:a085:999:28c:faff:fe03:5984]) by mail.netbsd.org (Postfix) with ESMTP id D218584CFA for ; Wed, 8 May 2024 18:16:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=netbsd.org; s=20240131; t=1715192199; bh=7BC7moWrFOrZPtO1UKHTRl2Gg3Y/NqHwBSf4TxUWPHw=; h=Date:From:Subject:To:Reply-To; b=jnTD9wkwp5QJYcWB+/h/usok3Gu4QfAr0f5cUwaf8nbQ22+RnybvbPKxFnwL9x/aI I9CGH07aPaV6DgYOazLfKw3RHKAzIpp3d5vkxrno2/pLNsz7OuYSKV7lnVNEgXGaSf BAhBDLINWndZROdpKt9FuqC54xDNm8ua/7Dh2DT8= Received: by cvs.NetBSD.org (Postfix, from userid 500) id C8BDBFA2C; Wed, 8 May 2024 18:16:39 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_171519219914860" MIME-Version: 1.0 Date: Wed, 8 May 2024 18:16:39 +0000 From: "Aleksey Cheusov" Subject: CVS commit: pkgsrc/devel/jemalloc To: pkgsrc-changes@NetBSD.org Reply-To: cheusov@netbsd.org X-Mailer: log_accum Message-Id: <20240508181639.C8BDBFA2C@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_171519219914860 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: cheusov Date: Wed May 8 18:16:39 UTC 2024 Modified Files: pkgsrc/devel/jemalloc: Makefile PLIST options.mk Log Message: Add option "doc" for disabling heavy dependency on docbook-xsl and libxslt. Approved by gson@ To generate a diff of this commit: cvs rdiff -u -r1.24 -r1.25 pkgsrc/devel/jemalloc/Makefile cvs rdiff -u -r1.1 -r1.2 pkgsrc/devel/jemalloc/PLIST \ pkgsrc/devel/jemalloc/options.mk Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_171519219914860 Content-Disposition: inline Content-Length: 2555 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/devel/jemalloc/Makefile diff -u pkgsrc/devel/jemalloc/Makefile:1.24 pkgsrc/devel/jemalloc/Makefile:1.25 --- pkgsrc/devel/jemalloc/Makefile:1.24 Tue Jun 6 12:40:38 2023 +++ pkgsrc/devel/jemalloc/Makefile Wed May 8 18:16:39 2024 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.24 2023/06/06 12:40:38 riastradh Exp $ +# $NetBSD: Makefile,v 1.25 2024/05/08 18:16:39 cheusov Exp $ DISTNAME= jemalloc-5.3.0 PKGREVISION= 1 @@ -12,9 +12,6 @@ HOMEPAGE= http://jemalloc.net/ COMMENT= General purpose malloc(3) implementation LICENSE= 2-clause-bsd -TOOL_DEPENDS+= libxslt-[0-9]*:../../textproc/libxslt -TOOL_DEPENDS+= docbook-xsl-[0-9]*:../../textproc/docbook-xsl - USE_LANGUAGES= c USE_TOOLS+= autoconf automake aclocal gmake perl:run GNU_CONFIGURE= yes @@ -29,5 +26,7 @@ BUILD_TARGET= all dist TEST_TARGET= check TEST_ENV= LD_LIBRARY_PATH=${WRKSRC}/lib +PRINT_PLIST_AWK+= { if (/^share\/doc/) $$0 = "$${PLIST.doc}" $$0 } + .include "options.mk" .include "../../mk/bsd.pkg.mk" Index: pkgsrc/devel/jemalloc/PLIST diff -u pkgsrc/devel/jemalloc/PLIST:1.1 pkgsrc/devel/jemalloc/PLIST:1.2 --- pkgsrc/devel/jemalloc/PLIST:1.1 Thu Feb 18 15:51:59 2016 +++ pkgsrc/devel/jemalloc/PLIST Wed May 8 18:16:39 2024 @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.1 2016/02/18 15:51:59 gson Exp $ +@comment $NetBSD: PLIST,v 1.2 2024/05/08 18:16:39 cheusov Exp $ bin/jemalloc-config bin/jemalloc.sh bin/jeprof @@ -8,5 +8,5 @@ lib/libjemalloc.so lib/libjemalloc.so.2 lib/libjemalloc_pic.a lib/pkgconfig/jemalloc.pc -man/man3/jemalloc.3 -share/doc/jemalloc/jemalloc.html +${PLIST.doc}man/man3/jemalloc.3 +${PLIST.doc}share/doc/jemalloc/jemalloc.html Index: pkgsrc/devel/jemalloc/options.mk diff -u pkgsrc/devel/jemalloc/options.mk:1.1 pkgsrc/devel/jemalloc/options.mk:1.2 --- pkgsrc/devel/jemalloc/options.mk:1.1 Sun Mar 17 13:28:22 2019 +++ pkgsrc/devel/jemalloc/options.mk Wed May 8 18:16:39 2024 @@ -1,10 +1,21 @@ -# $NetBSD: options.mk,v 1.1 2019/03/17 13:28:22 rin Exp $ +# $NetBSD: options.mk,v 1.2 2024/05/08 18:16:39 cheusov Exp $ PKG_OPTIONS_VAR= PKG_OPTIONS.jemalloc -PKG_SUPPORTED_OPTIONS= debug +PKG_SUPPORTED_OPTIONS= debug doc +PKG_SUGGESTED_OPTIONS= doc + +PLIST_VARS+= doc .include "../../mk/bsd.options.mk" .if !empty(PKG_OPTIONS:Mdebug) CONFIGURE_ARGS+= --enable-debug .endif + +.if !empty(PKG_OPTIONS:Mdoc) +TOOL_DEPENDS+= docbook-xsl-[0-9]*:../../textproc/docbook-xsl +TOOL_DEPENDS+= libxslt-[0-9]*:../../textproc/libxslt +PLIST.doc= yes +.else +CONFIGURE_ARGS+= --disable-doc +.endif --_----------=_171519219914860--