From owner-freebsd-python@freebsd.org Tue Mar 3 18:58:28 2020 Return-Path: Delivered-To: freebsd-python@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 EE64A25945D for ; Tue, 3 Mar 2020 18:58:28 +0000 (UTC) (envelope-from portmaster@BSDforge.com) Received: from udns.ultimatedns.net (static-24-113-41-81.wavecable.com [24.113.41.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "ultimatedns.net", Issuer "Let's Encrypt Authority X3" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 48X5rM25sMz3RDj for ; Tue, 3 Mar 2020 18:58:26 +0000 (UTC) (envelope-from portmaster@BSDforge.com) Received: from udns.ultimatedns.net (localhost [IPv6:0:0:0:0:0:0:0:1]) by udns.ultimatedns.net (8.15.2/8.15.2) with ESMTPS id 023IwiDY075700 (version=TLSv1.2 cipher=DHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO) for ; Tue, 3 Mar 2020 10:58:51 -0800 (PST) (envelope-from portmaster@BSDforge.com) X-Mailer: Cypht MIME-Version: 1.0 From: Chris Reply-To: portmaster@BSDforge.com To: freebsd-python Subject: Including the correct (python version) include path Date: Tue, 03 Mar 2020 10:58:51 -0800 Message-Id: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 48X5rM25sMz3RDj X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of portmaster@BSDforge.com has no SPF policy when checking 24.113.41.81) smtp.mailfrom=portmaster@BSDforge.com X-Spamd-Result: default: False [-1.32 / 15.00]; ARC_NA(0.00)[]; HAS_REPLYTO(0.00)[portmaster@BSDforge.com]; XM_UA_NO_VERSION(0.01)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; IP_SCORE(-0.28)[ip: (-0.51), ipnet: 24.113.0.0/16(-0.26), asn: 11404(-0.58), country: US(-0.05)]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-python@freebsd.org]; DMARC_NA(0.00)[BSDforge.com]; AUTH_NA(1.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-0.998,0]; REPLYTO_ADDR_EQ_FROM(0.00)[]; TO_DN_ALL(0.00)[]; NEURAL_HAM_MEDIUM(-0.95)[-0.953,0]; R_SPF_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:11404, ipnet:24.113.0.0/16, country:US]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Mar 2020 18:58:29 -0000 I'm dragging some code into the 21st century=2E I'm happy to say the python37 AST now gives it a clean bill of health=2E But I'm (currently) only able to build it by prepending the python && python-version to the #include line=2E USES=3D python:3=2E5+ doesn't seem to populate -I for my needs=2E If the user has 3, or 4 versions it seems harder=2E Not to mention if malloc option was added, which appends an m to ${PYTHON_SUFFIX} How does everyone deal with this sort of thing? Thank you for all your time, and consideration=2E --Chris