Exactly what the title says.
How do binary packages for FreeBSD get built and posted to pkg.freebsd.org?
My question specifically concerns graphics/php56-gd, which has compile-time switches to enable or disable XPM and t1lib support. Enabling these two options pulls in a whole bunch of X11 dependencies. But they are also the default options for the port, which means the binary package is built using these options.
I know I have the option to build the port myself (which I did), but it got me curious: how do packages get added to pkg.freebsd.org? Are they automatically built from the entire ports-tree? Is it possible to create two versions of a package on pkg.freebsd.org where one uses the default switches and the other is a "nox11" variant that does the same thing but without X? Or, are nox11 versions completely different ports or source distributions?
How do binary packages for FreeBSD get built and posted to pkg.freebsd.org?
My question specifically concerns graphics/php56-gd, which has compile-time switches to enable or disable XPM and t1lib support. Enabling these two options pulls in a whole bunch of X11 dependencies. But they are also the default options for the port, which means the binary package is built using these options.
I know I have the option to build the port myself (which I did), but it got me curious: how do packages get added to pkg.freebsd.org? Are they automatically built from the entire ports-tree? Is it possible to create two versions of a package on pkg.freebsd.org where one uses the default switches and the other is a "nox11" variant that does the same thing but without X? Or, are nox11 versions completely different ports or source distributions?