<<O>>  Difference Topic PkgtoolsDotConf (r1.1 - 03 Mar 2003 - KirkStrauser)
Line: 1 to 1
Added:
>
>
META TOPICPARENT PortUpgrade
The PortUpgrade and PortInstall? utilities can be configured by editing a shared configuration file, /usr/local/etc/pkgtools.conf. It has several interesting sections. Among them:

MAKE_ARGS

In this section, you can define arguments that will be used when building the specified ports. This is tremendously useful when certain ports require specific settings in order to work correctly, but you don't want to manually build them each time you want to upgrade your system. Here are some snippets:

  MAKE_ARGS = {
    'mail/cclient' => 'WITH_SSL_AND_PLAINTEXT=yes',
    'mail/imap-uw' => 'WITH_SSL_AND_PLAINTEXT=yes',
    'net/bind9'    => 'PORT_REPLACES_BASE_BIND9=yes',
    'www/mod_php4' => 'BATCH=YES PHP4_OPTIONS=\'\"GD2\" \"zlib\" \"bzip2\" \"mcrypt\" \"mhash\" \"MySQL\" \"PostgreSQL\" \"mnoGoSearch\" \"XML\" \"XMLRPC\" \"CURL\" \"g
ettext\" \"iconv\" \"pspell\" \"BCMath\" \"MCAL\" \"sockets\" \"sysvsem\" \"sysvshm\" \"transsid\"\''
  }

-- KirkStrauser - 03 Mar 2003

META FORM ClassForm  
META FIELD TopicClassification TopicClassification SystemAdministration
META FIELD OsVersion OsVersion All
Revision -
Revision r1.1 - 03 Mar 2003 - 17:05 - KirkStrauser