From owner-freebsd-ports@freebsd.org Wed Sep 25 16:18:46 2019 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 6618F12BE11; Wed, 25 Sep 2019 16:18:46 +0000 (UTC) (envelope-from hartzell@alerce.com) Received: from corvid.alerce.com (corvid.alerce.com [206.125.171.163]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 46djsx3D9wz46jp; Wed, 25 Sep 2019 16:18:45 +0000 (UTC) (envelope-from hartzell@alerce.com) Received: from postfix.alerce.com (76-226-160-236.lightspeed.sntcca.sbcglobal.net [76.226.160.236]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by corvid.alerce.com (Postfix) with ESMTPSA id A6537567ED; Wed, 25 Sep 2019 09:18:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alerce.com; s=dkim; t=1569428317; h=from:from:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=eXQ8P9MZ5zl3ZBURpIAOlaQOpzusOB9vT63P6S5FeuY=; b=Bdrq9s3cXNYjsHTqzclCUoPz46WBZEo/tf/X+ai5cNiwbKKeX5qv0w1TpuIo5qAu/GquLe 1yVnUWXvV6rZxziK2t8zv4+MWKkJhJyjZkirnGylfqS6+pVUog69SsKqDZJJBhyrKvG9fZ eZ0VA5LDIjCt23SXe5pXcdsLA7x5YqNVEDn6TKNYRtDBgTMhw9yxdWC6sGmDeqi7uJENbh 2HpSCu6H0VGfNgWYw03PJfsokC5mLP4syGsCRmgIg9W6xqRbAvDV88skG4Q3XRebltOyQ4 W4GnOlgzxVe4TDVU/ZWW2/j8JArwvX355Em9+5U2c2pfYDLTEI+8rufn/r4iog== Received: by postfix.alerce.com (Postfix, from userid 501) id 05A9320126BE3B; Wed, 25 Sep 2019 09:18:36 -0700 (PDT) From: George Hartzell MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Message-ID: <23947.37724.943422.207082@alice.local> Date: Wed, 25 Sep 2019 09:18:36 -0700 To: Romain =?iso-8859-1?Q?Tarti=E8re?= Cc: FreeBSD Questions , freebsd-ports Subject: Re: Problem overriding ports with portshaker. In-Reply-To: <20190925041645.GA11443@blogreen.org> References: <23943.45748.104392.96450@alice.local> <23945.3567.44900.631073@alice.local> <20190925041645.GA11443@blogreen.org> X-Mailer: VM undefined under 26.3 (x86_64-apple-darwin14.5.0) Reply-To: hartzell@alerce.com X-Rspamd-Queue-Id: 46djsx3D9wz46jp X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=alerce.com header.s=dkim header.b=Bdrq9s3c; dmarc=pass (policy=none) header.from=alerce.com; spf=pass (mx1.freebsd.org: domain of hartzell@alerce.com designates 206.125.171.163 as permitted sender) smtp.mailfrom=hartzell@alerce.com X-Spamd-Result: default: False [-5.68 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[alerce.com:s=dkim]; HAS_REPLYTO(0.00)[hartzell@alerce.com]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; R_SPF_ALLOW(-0.20)[+mx]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; REPLYTO_ADDR_EQ_FROM(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[alerce.com:+]; DMARC_POLICY_ALLOW(-0.50)[alerce.com,none]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; IP_SCORE(-2.68)[ip: (-8.50), ipnet: 206.125.168.0/21(-4.52), asn: 25795(-0.32), country: US(-0.05)]; ASN(0.00)[asn:25795, ipnet:206.125.168.0/21, country:US]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Sep 2019 16:18:46 -0000 Romain Tarti=C3=A8re writes: > [...] > Can you try setting PORTSDIR to your target ports tree, e.g. >=20 > % sudo env PORTSDIR=3D/usr/local/poudriere/ports/default portshaker = -M Setting PORTSDIR fixes it for me (different directory, but it works). > My guess is that since Mk/bsd.port.mk was not found, ARCH is not set= and > the Makefile is malformed. Sounds right. > If you confirm it fixes your issue, I'll commit something to do this= > automagically. It does not really make sense to not set PORTSDIR to= the > target ports tree IMO=E2=80=A6 I wasn't aware of PORTSDIR, I'm a long time ports user but this is my first foray into not simply using the stock FreeBSD ports tree. I assumed (!!!) that portshaker knew everything that it needed to know about where the trees were and was doing all of the magic for me. Thanks for the help! g.