svn commit: r423434 - head/security/openssl

Mathieu Arnold mat at FreeBSD.org
Fri Oct 7 06:44:31 UTC 2016


Le 07/10/2016 à 08:27, Bernard Spil a écrit :
> 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.

Well, of course, if you just write USE_LDCONFIG, without =yes, it won't
work either :-)

-- 
Mathieu Arnold


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/svn-ports-all/attachments/20161007/f58c896d/attachment.sig>


More information about the svn-ports-all mailing list