[talk] How to ban x11 from ports

fire crow fire at firecrow.com
Sun Oct 15 22:44:14 EDT 2017


On Oct 15, 2017 10:21 PM, "Mike Burns" <mike at mike-burns.com> wrote:

On 2017-10-15 21.55.52 -0400, Raul Cuza wrote:
> > On Oct 15, 2017 1:33 PM, "fire crow" <fire at firecrow.com> wrote:
> >> Hi, im having a hard time building git without gtk, which brings in all
> >> kinds of xorg dependencies.
> >>
> >> Does anyone know how to completely ban Xorg related packages from
ports.
> >>
> >> I tried this
> >> $ cat /etc/make.conf
> >> WITHOUT_X11=yes
>
> The git website only has Linux/OSX instructions, but the source
> install instructions there do not include GTK or other X11
> requirements. They might be assumed because on another page it says
> git-gui and gitk are included (https://git-scm.com/downloads/guis).
> Does the Makefile have a way of not building these parts of git?

I assume they're talking about installing git from FreeBSD ports
("ports" because it's in the subject line, "FreeBSD" because of
/etc/make.conf), not from source.

I see a  GUI=off  configuration for the git port; does that help?

-Mike

Yes freebsd ports apologies for not specifying.

I was able to successfully install git on a fresh system without gtk
entering into the mix, when i failed before i had BATCH="YES" in
/etc/make.conf and the only thing i can think of is that for some strange
reason it set 'git-ui' automatically. Also that box had a lot of thrash in
x11 dependencies so that may have accounted for it.

In summary its resolved, not completely sure how but its working the way I
want now.

~fire
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.nycbug.org:8443/pipermail/talk/attachments/20171015/3de24ecd/attachment.htm>


More information about the talk mailing list