Re: [bsdgrep] -w option matches part of words (Was: Apache 2.2 port and missing modules on current.)

From: Bartosz Stec <admin_at_kkip.pl>
Date: Mon, 23 Aug 2010 13:06:29 +0200
  On 2010-08-10 23:39, Bartosz Stec wrote:
>  On 2010-08-10 23:12, Gabor Kovesdan wrote:
>> Em 2010.08.10. 19:45, Anonymous escreveu:
>>> Seems like APACHE_MODULES is incorrectly populated.
>>>
>>>    $ make -V APACHE_MODULES BATCH= 
>>> GREP=${LOCALBASE-/usr/local}/bin/grep | fgrep cache
>>>    ...cache disk_cache file_cache...
>>>    $ make -V APACHE_MODULES BATCH= | fgrep cache
>>>    ...disk_cache file_cache...
>>>
>>> I guess the failing line is below in bsd.apache.mk
>>>
>>>    ${ECHO_CMD} ${WITHOUT_MODULES} | ${GREP} -wq $${module} 2>  
>>> /dev/null || \
>>>
>>> It can be reduced to
>>>
>>>    $ echo mem_cache | grep --color -w cache
>> I'm sorry for this issue, it didn't come up in the exp-run because it 
>> didn't make the port actually fail. I have a fix in my queue, which I 
>> sent to my mentor and I'll commit it soon.
>>
>> Gabor
>
> Thanks for your help with investigating this. I guess that in that 
> case submitting PR is unnecesary.
> regards!
>
Here's quick confirmation that with sources builded yesterday, apache22 
port compilation was succesful and all modules were populated as 
expected. Thanks Gabor! :)

--
Bartosz Stec
Received on Mon Aug 23 2010 - 09:06:41 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:06 UTC