Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Apr 2019 16:15:10 -0500
From:      Adam <amvandemore@gmail.com>
To:        Yuri <yuri@rawbw.com>
Cc:        "ports@freebsd.org" <ports@freebsd.org>
Subject:   Re: Is there a way to build only the port from source, and install dependencies from packages with the make command?
Message-ID:  <CA%2BtpaK1w_9yk13oUjOQ%2BZb6196WO_F0y7n7FsaeLKofuSgMuBQ@mail.gmail.com>
In-Reply-To: <20850a87-edd8-457c-352c-9b3c5baa8781@rawbw.com>
References:  <20850a87-edd8-457c-352c-9b3c5baa8781@rawbw.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Apr 30, 2019 at 12:36 PM Yuri <yuri@rawbw.com> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2BtpaK1w_9yk13oUjOQ%2BZb6196WO_F0y7n7FsaeLKofuSgMuBQ>