Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Apr 2015 20:06:08 +0200
From:      Xavier <xavier@groumpf.org>
To:        FreeBSD Ports <freebsd-ports@freebsd.org>
Cc:        bdrewery@freebsd.org
Subject:   Clarification about WITH_IPV6 becoming WITH="IPV6" and others, regarding pkgtools.conf
Message-ID:  <55411D90.5050401@groumpf.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?55411D90.5050401>