[107013] trunk/dports/devel

Dennis van Dok dennisvd at nikhef.nl
Mon Jun 17 02:07:47 PDT 2013


On 16-06-13 18:37, Adam Mercer wrote:
> On Sat, Jun 15, 2013 at 11:58 PM, Ryan Schmidt <ryandesign at macports.org> wrote:
>> /opt/local/sbin/globus-build-doxygen-dependencies:    $perlmoduledir = "/Network/Library/Perl/5.12";
>> /opt/local/sbin/globus-update-doxygen-index:    $perlmoduledir = "/Network/Library/Perl/5.12";
>> /opt/local/share/globus/globus-build-env-gcc64pthr.sh:perlmoduledir='/Network/Library/Perl/5.12'
>> /opt/local/share/globus/globus-build-env-noflavor.sh:perlmoduledir='/Network/Library/Perl/5.12'
>>
>> What does globus do with this directory? Does it look for
>> MacPorts-installed perl modules there? It will not find them there.
>> Does it try to install its own modules there? That's not a good
>> idea either.

> 
> I noticed also that the version of perl is in this string, i.e.:
> 
> $ perl -V:installvendorlib
> installvendorlib='/opt/local/lib/perl5/vendor_perl/5.12.4';
> $
> 
> so if the version of perl is updated that this will no longer work. So
> I imagine we need a new approach.
> 
> Dennis: You're more familiar with globus than I am, what do you think
> is the best way to address this?

I agree this isn't right. Much of this is due to way the Globus build system
tries to deal with portability.

There are a few globus packages that install perl stuff:
globus-common, which installs ${perlmoduledir}/Globus/Core/{Config,Paths}.pm;
grid-packaging-tools, which installs .../Grid/GPT/*
globus-gram-*, for .../Globus/GRAM/*

It looks like the ${perlmoduledir} is almost exactly what ${perl5.lib}
(or ${perl5.archlib}) would be when using the perl5 PortGroup. Can we
somehow use ${perl5.lib} without all the side-effects of the perl5
PortGroup?

In any case globus-core seems to hardcode the perl module path,
so unless this is patched (I don't know how, yet) we will end up
having to hardcode this in the Portfile anyhow.

Cheers,

Dennis
-- 
D.H. van Dok :: Software Engineer :: www.nikhef.nl/grid ::
Phone +31 20 592 22 28 :: http://www.nikhef.nl/~dennisvd/


More information about the macports-dev mailing list