Sunday, October 13, 2024

Re: Using Ports

On Thu, Oct 10, 2024 at 06:36:34PM +0000, Joe B wrote:
> Hello,
>
> I just installed openbsd and I'm happy.. coming from FreeBSD and lots of stuff are different.
>
> I like ports to have options between binary and source.
>
> In freebsd you could make showconfig to see whats configured by default. you could do make config to change the default options then make install clean..
>
> Also i would do this
>
> - make config (change stuff)
> - export BATCH=y
> - make install clean and everything was fine
>
> Ports on openbsd are so different.
>
> What do you recommend me do ? i would like to add ssl put stuff in or whatever. I was looking at https://man.openbsd.org/ports and https://www.openbsd.org/faq/ports/ports.html but i'm confused

For ports, the config stuff is called FLAVORS.

It's highly curated to only correspond to options that actually make sense
and have been somewhat tested.

If you want to play further with that, you need to read up on
FLAVORS AND MULTI_PACKAGES (that specific subsection of bsd.port.mk(5) along
with relevant info in the FAQ).

FLAVORS is the stuff that usually ends up at the end of the FULLPKGNAME
but it can become somewhat complicated for some ports !

No comments:

Post a Comment