Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 May 2020 14:10:09 +0200
From:      Hans Petter Selasky <hps@selasky.org>
To:        Mathieu Arnold <mat@freebsd.org>
Cc:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   Re: svn commit: r534893 - head/multimedia/webcamd
Message-ID:  <bf1d879c-7c63-6d7d-a97b-492897096ecc@selasky.org>
In-Reply-To: <20200511115910.zccckylogk7nc6ia@aching.in.mat.cc>
References:  <202005110834.04B8YTMU056795@repo.freebsd.org> <20200511115910.zccckylogk7nc6ia@aching.in.mat.cc>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2020-05-11 13:59, Mathieu Arnold wrote:
> On Mon, May 11, 2020 at 08:34:29AM +0000, Hans Petter Selasky wrote:
>> -.if exists(/usr/lib32/libcuse.so)
>> +.include <bsd.port.options.mk>
>> +
>> +.if ${ARCH} == amd64 || ${ARCH} == aarch64
>>   OPTIONS_DEFAULT+=	COMPAT32
>>   .endif
> 
> This cannot work, the OPTIONS_* variables are only consumed inside
> bsd.port.options.mk, so, if you change them after the include, it does
> not do anything.
> 

I'll use OPTIONS_DEFAULT_amd64 instead.

/usr/ports/Mk/bsd.options.mk:# OPTIONS_DEFAULT_${ARCH}	- List of options 
activated by default for a

--HPS



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bf1d879c-7c63-6d7d-a97b-492897096ecc>