From owner-freebsd-ports@freebsd.org Tue Apr 30 21:15:25 2019 Return-Path: Delivered-To: freebsd-ports@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 F0A42159EA7A for ; Tue, 30 Apr 2019 21:15:24 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 537E58EFCC for ; Tue, 30 Apr 2019 21:15:24 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: by mailman.ysv.freebsd.org (Postfix) id 13AF6159EA79; Tue, 30 Apr 2019 21:15:24 +0000 (UTC) Delivered-To: ports@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 CB390159EA78 for ; Tue, 30 Apr 2019 21:15:23 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-it1-x12f.google.com (mail-it1-x12f.google.com [IPv6:2607:f8b0:4864:20::12f]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 68A658EFCB for ; Tue, 30 Apr 2019 21:15:23 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: by mail-it1-x12f.google.com with SMTP id q14so7186644itk.0 for ; Tue, 30 Apr 2019 14:15:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=ZWXk7X/ijVg4UuXaO3NN91fGiaaRlWOeK6yG3YwhXGU=; b=ngEJ1Lnbjr2oGkuPExEkhZT4jsP9BR+LS3aPc1dmkjTC4yVxI1Q3znge2t/Z9xYx3g JZQaX2oExIoX8mlvbaAk3k8csXFCKvDDzoWvlxCjdSc3Tc/9lXRXc4XMRSGOyKqnek5z SPlBfsEDpHen12zSnEWqYCILmCMJ4sgO7gB6uGHv6bVcbzaJMfS0wrUHuiLt5TZbRWHA UxdjoRgnp7tPMJ5MFfzdMkY9ObWYflbpIwGnOGzWSeV7ODQW7MGF4d2j0ggu+6n9lA+Z zEzCIGglwh2z1Z/BPsTjeJ7gdJurH25Bhz1mkpdZbMcMOYPwDyrLPnhqhf7E2RuZK1nb VKFQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=ZWXk7X/ijVg4UuXaO3NN91fGiaaRlWOeK6yG3YwhXGU=; b=gcMw4pUHYCiWaPI8Umkp8fsnjV712knoHMQg7btqEJusjkOjm/PTZwLd6vfmzDXrF6 1pGPD6j+KhUsE7BnOLKeLkfHm4KuSwujft5kgKORKFpo/XteqAAHNO9TkURTFiD8Me3d MNvUDs40oh6je5ogeDUeY+diA+vxlgeG+cqRnyUzVfNoeP46LAP9Utgq+DGj4hsrrbcm 5oiJKVVNhn8T0LgBcziFRFQlhRnBA5HDPviWto3xzcSUjT5gnDLwbl18FcJmCqs1num4 fAIWGrbQ5RCV6q+4jO9Bdih1T6YfGvYJGySkYWUzlJvlYuesr0pi7G/sE4eShvg2XGjl L4dQ== X-Gm-Message-State: APjAAAWvNkt5ctdBUWUW8CpIX8xB0WrNjpI4128RNq1HQ15DFLieDP88 GDSMfHubYXlH4wVIGOSQr4kZ9NXuVyuoonAg4CE= X-Google-Smtp-Source: APXvYqxTSYM05Firx0IQIbh7i7G2fnwya99+33sqBp40Ft6zp97ARPWADzrefUW3sikwnO9XHGAa1Kgmg3NX67u+udE= X-Received: by 2002:a02:1a89:: with SMTP id 131mr10694265jai.78.1556658922325; Tue, 30 Apr 2019 14:15:22 -0700 (PDT) MIME-Version: 1.0 References: <20850a87-edd8-457c-352c-9b3c5baa8781@rawbw.com> In-Reply-To: <20850a87-edd8-457c-352c-9b3c5baa8781@rawbw.com> From: Adam Date: Tue, 30 Apr 2019 16:15:10 -0500 Message-ID: Subject: Re: Is there a way to build only the port from source, and install dependencies from packages with the make command? To: Yuri Cc: "ports@freebsd.org" X-Rspamd-Queue-Id: 68A658EFCB X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-6.98 / 15.00]; REPLY(-4.00)[]; NEURAL_HAM_SHORT(-0.98)[-0.977,0]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 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: Tue, 30 Apr 2019 21:15:25 -0000 On Tue, Apr 30, 2019 at 12:36 PM Yuri wrote: > Sometimes instructions to build some port from source are needed. "cd > /usr/ports/{caregory}/{port-name} && make" rebuilds everything from > source, including dependencies. > > Is there an easy way to make it install missing dependencies with pkg, > without listing them? I couldn't find such feature. > > > This can be useful: > > 1. When some software's README describes how to install it on FreeBSD > from source. > > 2. When developers need to compile from source only a specific port > without waiting for dependencies to build. > I usually do this with portmaster and -P. Although generally speaking, you will get more installed from pkg with an older ports tree all else being equal. -- Adam