cvs commit: ports/textproc/p5-Text-Markdown Makefile distinfo pkg-plist

Henrik Brix Andersen brix at FreeBSD.org
Sat Mar 8 13:38:29 UTC 2008


On Sat, Mar 08, 2008 at 12:53:50PM +0100, Gabor Kovesdan wrote:
> Henrik Brix Andersen escribió:
>> On Mon, Mar 03, 2008 at 09:39:14PM +0000, Gabor Kovesdan wrote:
>>   
>>> gabor       2008-03-03 21:39:14 UTC
>>> 
>>>   FreeBSD ports repository
>>> 
>>>   Modified files:
>>>     textproc/p5-Text-Markdown Makefile distinfo pkg-plist   Log:
>>>   - Update 1.0.13
>>>   - Better adjustement of dependencies
>>>   - Use PERL_CONFIGURE instead of PERL_MODBUILD
>>>     PR:             ports/121027
>>>   Submitted by:   Felippe de Meirelles Motta <lippemail at gmail.com>
>>>   Approved by:    maintainer
>>>     
>> 
>> This update breaks at least www/ikiwiki...
>> 
>> Somehow, Text::MultiMarkdown is now known as both Text::MultiMarkdown
>> and Text::Markdown on CPAN - (according to the change log, the authors
>> actually planned to "steal" the Text::Markdown namespace for quite
>> some time?) but it is not compatible with the original Text::Markdown
>> (which is what we had as p5-Text-Markdown before this update).
>> 
>> The original version contained a Text::Markdown::Markdown() method,
>> whereas MultiMarkdown contains a Text::Markdown::markdown() method,
>> thus making the two incompatible (note the difference in
>> capitalization of the method name).
>> 
>> I suggest backing this update out, restoring the original
>> Text::Markdown functionality - and then perhaps committing this as
>> p5-Text-MultiMarkdown, where it IMO belongs.
>>   
> Ok, I'll look at this more deeply soon, thanks for noticing this issue!

I am currently running a patch [1] for www/ikiwiki which makes it work
with either version of the Text::Markdown package through the
ports tinderboxes.

Since other - non-FreeBSD users - will also be bitten by this change
in the Text::Markdown module, we might as well have it fixed properly.

Perhaps other consumers of the textproc/p5-Text-Markdown will need
similar patches.

Brix

[1]: http://people.freebsd.org/~brix/ports-patches/ikiwiki.diff
-- 
Henrik Brix Andersen <brix at FreeBSD.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 217 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/cvs-ports/attachments/20080308/8dfdccb9/attachment.pgp


More information about the cvs-ports mailing list