From owner-freebsd-questions@freebsd.org Thu Jan 17 19:38:17 2019 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9CB3414A41C0 for ; Thu, 17 Jan 2019 19:38:17 +0000 (UTC) (envelope-from nicola.mingotti@slac.stanford.edu) Received: from mailgate11.slac.stanford.edu (smtpgateway.slac.stanford.edu [IPv6:2620:114:d000:2598::b]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 95F8B806BF for ; Thu, 17 Jan 2019 19:38:15 +0000 (UTC) (envelope-from nicola.mingotti@slac.stanford.edu) Received: from mailgate16.slac.stanford.edu (mailgate16.slac.stanford.edu [134.79.102.22]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mailgate11.slac.stanford.edu (Postfix) with ESMTPS id DEAF880148 for ; Thu, 17 Jan 2019 11:38:05 -0800 (PST) DMARC-Filter: OpenDMARC Filter v1.3.2 mailgate11.slac.stanford.edu DEAF880148 Received: from exch13-mail01.win.slac.stanford.edu (exch13-mail01.slac.stanford.edu [134.79.117.11]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by mailgate16.slac.stanford.edu (Postfix) with ESMTPS id D285588004F for ; Thu, 17 Jan 2019 11:38:05 -0800 (PST) Received: from [10.0.2.15] (134.79.121.132) by exch13-mail01.win.slac.stanford.edu (2002:864f:750b::864f:750b) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Thu, 17 Jan 2019 11:38:05 -0800 To: From: Nicola Mingotti Subject: Method to properly recompile a port after tweaking Message-ID: <16592fa8-d560-39ff-809b-2c19e05b7891@slac.stanford.edu> Date: Thu, 17 Jan 2019 11:38:05 -0800 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-Originating-IP: [134.79.121.132] X-ClientProxiedBy: EXCH13-MAIL01.win.slac.stanford.edu (2002:864f:750b::864f:750b) To exch13-mail01.win.slac.stanford.edu (2002:864f:750b::864f:750b) X-Rspamd-Queue-Id: 95F8B806BF X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.38 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[slac.stanford.edu:s=default]; HAS_XOIP(0.00)[]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2620:114:d000::/44]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-0.999,0]; RCVD_COUNT_THREE(0.00)[4]; IP_SCORE(-0.02)[country: US(-0.08)]; DKIM_TRACE(0.00)[slac.stanford.edu:+]; MX_GOOD(-0.01)[nospam4.slac.stanford.edu,nospam1.slac.stanford.edu,nospam2.slac.stanford.edu]; DMARC_POLICY_ALLOW(-0.50)[slac.stanford.edu,reject]; NEURAL_HAM_SHORT(-0.35)[-0.354,0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:3671, ipnet:2620:114:d000::/44, country:US]; MID_RHS_MATCH_FROM(0.00)[] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Jan 2019 19:38:17 -0000 Hi, I have recently modified the port editors/texmacs and found a way to easily recompile it after each C++ code modification. The method I used is basically: #> rm work/.build_done.texmacs._usr_local #> make build When I was looking for the solution I opened a discussion thread on the FreeBSD Forum: https://forums.freebsd.org/threads/how-to-tweak-the-source-of-an-existing-port.69164/#post-413736 The problem is that a user says the method to him is not working. Could you please tell me what is the official way to recompile a port? I am aware of #> maker clean #> make build but that way too slow, it recompiles all, even if nor necessary. bye Nicola