ports structure and improvement suggestions

Robert Huff roberthuff at rcn.com
Tue May 9 13:10:48 UTC 2006


Jeremy Chadwick writes:

>  What I proposed in the aforementioned thread was to have an
>  actual BIND-like configuration file (e.g. a tree) which contains
>  individual options which are set to yes/no per port.  There is a
>  global scope which applies to all ports, while individual ports
>  can be adjusted individually -- or overwride the global scope
>  settings.

	I'm confused: how is this different in principle from the
"MAKE_ARGS" section of (/usr/local/etc/)pkgtools.conf?  E.g.:

 MAKE_ARGS = {
    'www/mozilla-devel' => 'BUILD_OFFICIAL=1',
    'graphics/gimp' => [
         'WITH_PYTHON=yes',
         'WITH_HTML_HELP_BROWSER=yes'],
    'www/apache22' => [
         '-DWITH_LDAP_MODULES',
         '-DWITH_MISC_MODULES',
         '-DWITH_CACHE_MODULES',
         '-DWITH_SSL_MODULES'], 
    'editors/xemacs-devel-mule' => [
         '-DDISABLE_CONFLICTS'],
    'editors/emacs' => [
         '-DDISABLE_CONFLICTS'],
   'multiledia/mplayer' => [
         'WITH_GTK1=yes',
         'WITH_REALPLAYER=yes',
         'WITHOUT_RUNTIME_CPUDETECTION=yes',
         'WITH_OPTIMIZED_CFLAGS=yes',
         'WITHOUT_MENCODER=yes'],

	etc..


					Robert Huff




More information about the freebsd-ports mailing list