Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Jul 2019 20:43:53 -0700
From:      George Hartzell <hartzell@alerce.com>
To:        hw <hw@adminart.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: What does it mean to use ports?
Message-ID:  <23851.63097.288562.464876@alice.local>
In-Reply-To: <87o91wqjl5.fsf@toy.adminart.net>
References:  <87o91wqjl5.fsf@toy.adminart.net>

next in thread | previous in thread | raw e-mail | index | archive | help
hw writes:
 > Hi,
 > 
 > so I wanted to see what would happen if I used a port and removed the
 > emacs-nox packages and its dependencies.  Then I started installing the
 > emacs port.
 > 
 > What is going on here?  It seems as if I need to compile the whole
 > system myself now.
 > 
 > Is there a way to give all the answers to the questions about compile
 > options at the beginning?  I don't have time to sit around until the
 > next question shows up.
 > 
 > What if I want to change the compile options?  How do I make it so that
 > all the packages asking for me for options will do so again?  I don't
 > even remember all the packages that want to be compiled.
 > 
 > Can I globally set compile options like -march=native (or whatever the
 > equivalent for FreeBSD is)?

You can also build your own set of packages from the ports (the
official packages are official only because they're built by the
official people...).  There are two different bits of tooling that
automate the process:

- poudriere  -- this is mostly oriented towards building packages
  repos that are used by multiple downstream systems, but I use it to
  maintain the set of packages for my mail server
  - the handbook docs are here:
    https://www.freebsd.org/doc/handbook/ports-poudriere.html
  - Digital Ocean has a nice tutorial here: https://www.digitalocean.com/community/tutorials/how-to-set-up-a-poudriere-build-system-to-create-packages-for-your-freebsd-servers

- synth  -- mostly oriented towards single system setups, though it
  can easily build shared repos.
  - github repo here: https://github.com/jrmarino/synth

g.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?23851.63097.288562.464876>