pkg query "%n-%v %o %Ok %Ov". That will output something like:cairo-1.10.2_6,2 graphics/cairo GLIB on
cairo-1.10.2_6,2 graphics/cairo OPENGL off
cairo-1.10.2_6,2 graphics/cairo X11 on
cairo-1.10.2_6,2 graphics/cairo XCB on
curl-7.33.0_1 ftp/curl CARES off
...
# This file is auto-generated by 'make config'.
# Options for cairo-1.10.2_6,2
_OPTIONS_READ=cairo-1.10.2_6,2
_FILE_COMPLETE_OPTIONS_LIST=GLIB OPENGL X11 XCB
OPTIONS_FILE_SET+=GLIB
OPTIONS_FILE_UNSET+=OPENGL
OPTIONS_FILE_SET+=X11
OPTIONS_FILE_SET+=XCB
make -C /usr/ports/graphics/cairo setoptions WITH_OPENGL=1 to just toggle one option from its default. make config would prevent the dialogs from popping but that doesn't seem to be the case now.frijsdijk said:Hi,
When a machine is installed with pkgng (using external repositories), is it possible to generate the /var/db/ports/{portname}/options files in order to be able to upgrade ports locally by compiling them from /usr/ports while maintaining compile-flags?
phoenix said:frijsdijk said:Hi,
When a machine is installed with pkgng (using external repositories), is it possible to generate the /var/db/ports/{portname}/options files in order to be able to upgrade ports locally by compiling them from /usr/ports while maintaining compile-flags?
You don't need to. PKGNG packages are built using the default OPTIONS. When you compile a port by hand, the OPTIONS screen comes up. Don't change anything, and you have the exact same OPTIONS set as the pkg.