Clarification about WITH_IPV6 becoming WITH="IPV6" and others, regarding pkgtools.conf

Xavier xavier at groumpf.org
Sat Apr 18 23:46:19 UTC 2015


Hi,

Il often notice, when upgrading a port, a notice like this :

<</!\ WARNING /!\
You are using the following deprecated options: WITH_IPV6 WITHOUT_PERL
If you added them on the command line, you should replace them by
WITH="IPV6" WITHOUT="PERL" >>

It obviously applies to the [MAKE ARGS] section of pkgtools.conf, since
section MAKE_ARGS is a list of make command line variables

So with the new convention, just taking an example from my file :

postfix*' => 'WITH_PCRE=yes WITH_DOVECOT=yes  WITH_BDB=yes WITH_TLS=yes
WITH_MYSQL=yes WITH_BDB_VER=5 \
WITH_MYSQL_VER=55 WITH_IPV6=1 WITHOUT_FOOBAR',

Should be rewritten

postfix*' => 'WITH="PCRE DOVECOT BDB TLS MYSQL BDB_VER=5 MYSQL_VER=55
IPV6" WITHOUT="FOOBAR"',

Is this right ?

TIA,

Xav

PS : cc to bdrewery@ for advice and proposed help to rewrite the
relevant section of conf.sample files
-- 
Xavier HUMBERT - Unix/Win/MacOSX Sysadmin/Network Engineer


More information about the freebsd-ports mailing list