[Xml-compile] Re: addPrefixes missing?

Patrick Powell papowell at astart.com
Thu Sep 19 20:11:41 GMT 2013


ARGH!!! Right you are.  However,  I just went in and hand modified the 
Makefile:

test84: {179} # diff -c Makefile*
*** Makefile    Thu Sep 19 08:52:02 2013
--- Makefile.orig       Thu Sep 19 12:15:31 2013
***************
*** 2,8 ****
   # $FreeBSD: textproc/p5-XML-Compile-Cache/Makefile 324174 2013-08-02 
18:52:07Z mat $

   PORTNAME=     XML-Compile-Cache
! PORTVERSION=  0.99.5
   CATEGORIES=   textproc perl5
   MASTER_SITES= CPAN
   PKGNAMEPREFIX=        p5-
--- 2,8 ----
   # $FreeBSD: textproc/p5-XML-Compile-Cache/Makefile 324174 2013-08-02 
18:52:07Z mat $

   PORTNAME=     XML-Compile-Cache
! PORTVERSION=  0.99.4
   CATEGORIES=   textproc perl5
   MASTER_SITES= CPAN
   PKGNAMEPREFIX=        p5-

I then did:  make clean makesum deinstall reinstall

And Lo!  It downloaded XML-Comple-Cache-0.995

However, when I set the version to:
PORTVERSION=  0.995

I got:
===>  License ART10 GPLv1 accepted by the user
=> XML-Compile-Cache-0995.tar.gz doesn't seem to exist in 
/usr/ports/distfiles/.
=> Attempting to fetch 
ftp://ftp.cpan.org/pub/CPAN/modules/by-module/XML/XML-Compile-Cache-0995.tar.gz
fetch: 
ftp://ftp.cpan.org/pub/CPAN/modules/by-module/XML/XML-Compile-Cache-0995.tar.gz: 
File unavailable (e.g., file not found, no access)
=> Attempting to fetch 
http://www.cpan.dk/modules/by-module/XML/XML-Compile-Cache-0995.tar.gz
fetch: 
http://www.cpan.dk/modules/by-module/XML/XML-Compile-Cache-0995.tar.gz: 
Not Found
=> Attempting to fetch 
ftp://ftp.kddlabs.co.jp/lang/perl/CPAN/modules/by-module/XML/XML-Compile-Cache-0995.tar.gz

Apparently the FreeBSD port maintainers do not like 3 digit 
version/subversion numbers.

The Makefile has the line:

DISTNAME=   ${PORTNAME}-${PORTVERSION:R}${PORTVERSION:E}

This causes the distribution to be XML-Compile-Cache-0.995

I suspect that this is a DuckTape solution...  It works,  but it sure is 
ugly...

On 09/19/13 08:57, Mark Overmeer wrote:
> * Patrick Powell (papowell at astart.com) [130919 15:09]:
>> Also,  most folks are using CPAN for downloading.  But no... I gotta
>> use the FreeBSD Ports stuff...
>>
>> #> example.pl
>> Can't locate object method "addPrefixes" via package
>> "XML::Compile::WSDL11" at
>> /usr/local/lib/perl5/site_perl/5.14/XML/Compile/WSDL11.pm line 44.
> addPrefixes was added in XML::Compile::Cache 0.995
>
>> XML::Compile::Cache 0.99.4
> This is a mistake of FreeBSD ports.  The old version was 0.994, but
> they apparently translate this into 0.99.4 which is 0.099_004




More information about the Xml-compile mailing list