portupgrade / arguments for make

RW fbsd06 at mlists.homeunix.com
Fri Sep 7 09:39:27 PDT 2007


On Fri, 7 Sep 2007 18:10:13 +0200
"Zbigniew Szalbot" <zszalbot at gmail.com> wrote:

> Hello,
> 
> When using portupgrade -fr I need to specify an argument that I do not
> want X11 binaries installed during the upgrade process. Now from man I
> read it is the -m switch. But how do I pass the argument:
> 
> portupgrade -fr -m WITHOUTX11 php4
> 
> but this does not do the trick. Many thanks for the correct switch. I
> could not find it in man make.
> 


-m '-DWITHOUT_X11'

You missed the -D and the underscore

But very likely this should be defined globally in make.conf as


WITHOUT_X11=yes


More information about the freebsd-questions mailing list