From owner-freebsd-ports@freebsd.org Thu May 7 00:52:52 2020 Return-Path: Delivered-To: freebsd-ports@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 7FD942E4DCC for ; Thu, 7 May 2020 00:52:52 +0000 (UTC) (envelope-from gcr+freebsd-ports@tharned.org) Received: from roadkill.tharned.org (tunnel294749-pt.tunnel.tserv9.chi1.ipv6.he.net [IPv6:2001:470:1f10:107f::2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "tharned.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49HZgl2xFHz4SV1 for ; Thu, 7 May 2020 00:52:51 +0000 (UTC) (envelope-from gcr+freebsd-ports@tharned.org) Received: from flake.tharned.org ([IPv6:2001:470:1f11:107f:6473:8617:fe9d:490b]) (authenticated bits=0) by roadkill.tharned.org (8.15.2/8.15.2) with ESMTPSA id 0470qnu7055229 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO) for ; Wed, 6 May 2020 19:52:49 -0500 (CDT) (envelope-from gcr+freebsd-ports@tharned.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tharned.org; s=2017; t=1588812769; bh=LFpHaDMWL9Ti7+TPBlOAXYVSEkYhsbzIcxJgxiQdiIw=; h=From:To:Subject:Date:In-Reply-To:References; b=IRIT3xL47KuHYccqCy4qQEYyehDFTtnSf97b+jrNv69+23KOaciIqu8zVjUVJe/hx H27omYbj0RymB/Ud8bhq/p4vuH1gDeTvUw9ame5G6+NUp+Z26TnZvxwvH7l3WHY2xm HPbHPDjMdKeHL1QYmiwY37rIDZFdP1NCFY1ULl6sUV0TTUP+t71fFvyGEuRQr17ARI afu1FGZ5gRA4njLGWIPf+aAcjd4PtpCcThpxdT4y6GxZ69uSfJYhX2sisiuilj0HOz bheTiL+wBEvmlP03n+DV1LPPgwNaM60+XIANOyuoshSP5tK2ccowiBop83tqlkHcFZ z0hBksSNEf+5Q== X-Authentication-Warning: roadkill.tharned.org: Host [IPv6:2001:470:1f11:107f:6473:8617:fe9d:490b] claimed to be flake.tharned.org From: Greg Rivers To: FreeBSD Ports Subject: Re: Building a port with debug symbols using poudriere Date: Wed, 06 May 2020 19:52:45 -0500 Message-ID: <1785216.Ei5Gdb227I@no.place.like.home> In-Reply-To: References: <4758866.YNO7O01DYZ@no.place.like.home> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.6.2 (roadkill.tharned.org [IPv6:2001:470:1f10:107f:0:0:0:2]); Wed, 06 May 2020 19:52:49 -0500 (CDT) X-Rspamd-Queue-Id: 49HZgl2xFHz4SV1 X-Spamd-Bar: ------- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=tharned.org header.s=2017 header.b=IRIT3xL4; dmarc=none; spf=none (mx1.freebsd.org: domain of gcr@tharned.org has no SPF policy when checking 2001:470:1f10:107f::2) smtp.mailfrom=gcr@tharned.org X-Spamd-Result: default: False [-7.24 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[tharned.org:s=2017]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; DWL_DNSWL_MED(-2.00)[tharned.org.dwl.dnswl.org : 127.0.6.2]; TO_MATCH_ENVRCPT_ALL(0.00)[]; IP_SCORE(-3.44)[ip: (-9.70), ipnet: 2001:470::/32(-4.22), asn: 6939(-3.24), country: US(-0.05)]; MIME_GOOD(-0.10)[text/plain]; HAS_XAW(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-ports@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; DMARC_NA(0.00)[tharned.org]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[tharned.org:+]; R_SPF_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; CTE_CASE(0.50)[]; ASN(0.00)[asn:6939, ipnet:2001:470::/32, country:US]; TAGGED_FROM(0.00)[freebsd-ports]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 May 2020 00:52:52 -0000 On Wednesday, 6 May 2020 17:49:06 CDT Matthias Andree wrote: > Am 06.05.20 um 18:05 schrieb Greg Rivers: > > I need to build bind916 with debug symbols. According to the Makefile, defining "WITH_DEBUG" will accomplish that. Where and how would I set that inside a basic poudriere configuration? > > > Either in the port, or you can set WITH_DEBUG_PORTS=dns/bind916 here: > > /usr/local/etc/poudriere.d/make.conf - see CUSOTMISATION and then > further down "Create optional make.conf" in man poudriere > Thank you Matthias. I had read your manual page reference prior to posting, but it didn't specify the variable name format or how to set its value. Is it a general rule that one can set any variable for any port by specifying: ANY_VARIABLE_PORTS=category/portname If a variable needs to have a specific value (vs simply being defined or undefined) is it done like this: ANY_VARIABLE_PORTS= category/portname=7 -- Greg