[csw-maintainers] GAR: Adding a /opt/csw/lib/foo/64 --> /opt/csw/lib/foo/{amd64, sparcv9} link

Dagobert Michelsen dam at opencsw.org
Tue Nov 24 17:38:45 CET 2009


Hi Maciej,

Am 24.11.2009 um 17:30 schrieb Maciej (Matchek) Blizinski:
>> It is easier to use this:
>>
>> post-merge-modulated:
>>        gln -s $(ISA_DEFAULT64) $(PKGROOT)$(libdir)/64
>>        @$(MAKECOOKIE)
>>
>> ISA_DEFAULT contains the default 32 bit ISA on this platform,
>> ISA_DEFAULT64 contains the default 64 bit ISA on this platform.
>
> This fails:
>
> gln -s "sparcv9"
> "/home/maciej/src/opencsw/pkg/nspr/trunk/work/solaris8-sparc/pkgroot/ 
> opt/csw/lib/nspr/64/64"
> gln: `/home/maciej/src/opencsw/pkg/nspr/trunk/work/solaris8-sparc/ 
> pkgroot/opt/csw/lib/nspr/64/64/sparcv9':
> cannot overwrite directory
> gmake[1]: *** [post-merge-modulated] Error 1
> gmake[1]: Leaving directory `/home/maciej/src/opencsw/pkg/nspr/trunk'
> gmake: *** [merge-isa-sparcv9] Error 2
>
> I think it's because it must be run only once per architecture, that's
> why I initially chose post-merge and not post-merge-modulated.  Is
> that correct?

Yes, correct, just replace the gln line and drop the -modulated.
I want to get rid of the -modulated at some time but here it
actually makes a difference. Maybe there is need for differentiation,
I'll do some more thinking...


Best regards

   -- Dago



More information about the maintainers mailing list