svn commit: r423434 - head/security/openssl

Bernard Spil brnrd at FreeBSD.org
Fri Oct 7 06:33:57 UTC 2016


On 2016-10-07 0:44, Mathieu Arnold wrote:
> Le 06/10/2016 à 21:38, Bernard Spil a écrit :
>> Author: brnrd
>> Date: Thu Oct  6 19:38:48 2016
>> New Revision: 423434
>> URL: https://svnweb.freebsd.org/changeset/ports/423434
>> 
>> Log:
>>   security/openssl: Fix ldconfig issue
>> 
>>     - OPT_USE= feature does not behave as expected
> 
> I strongly disagree with that comment, the opt_USE works exactly as
> expected, and as documented.
> 
>>   Reported by:	dinoex
>>   Differential Revision:	D8166
>> 
>> Modified:
>>   head/security/openssl/Makefile
>> 
>> Modified: head/security/openssl/Makefile
>> ==============================================================================
>> --- head/security/openssl/Makefile	Thu Oct  6 19:35:40 2016	(r423433)
>> +++ head/security/openssl/Makefile	Thu Oct  6 19:38:48 2016	(r423434)
>> @@ -88,7 +88,7 @@ SCTP_CONFIGURE_OFF=	no-sctp
>>  SHARED_CONFIGURE_ON=	shared
>>  SHARED_MAKE_ENV=	SHLIBVER=${OPENSSL_SHLIBVER}
>>  SHARED_PLIST_SUB=	SHLIBVER=${OPENSSL_SHLIBVER}
>> -SHARED_USE=		ldconfig
>> +SHARED_USE=		ldconfig=yes
>>  SSE2_CONFIGURE_OFF=	no-sse2
>>  SSL2_CONFIGURE_ON=	enable-ssl2
>>  SSL2_CONFIGURE_OFF=	no-ssl2
>> 
>> 

Hi Mat,


 From Mk/bsd.options.mk:

499:  _u=             ${option:C/=.*//g}
500: USE_${_u:tu}+=  ${option:C/.*=//g:C/,/ /g}

If you forget to add =value to your OPT_USE= feature this will result in 
USE_FEATURE= feature as there's no `=' to split on.
This should either default to something sane (i.e. "yes") or throw an 
error.

Cheers,

Bernard.


More information about the svn-ports-all mailing list