[csw-maintainers] confused with build-global and build-isa...

Sebastian Kayser skayser at opencsw.org
Mon Feb 8 23:43:07 CET 2010


Hi Jake,

Jake Goerzen wrote on 08.02.2010 22:52:
> Hello, I want to copy a file from $FILEDIR/ to "where GAR extracted
> the source" for example:
> 
> post-extract:
>         @cp $(FILEDIR)/Makefile $(WORKDIR)/Makefile
>         $(MAKECOOKIE)
> 
> 
> When I do this the file gets copied to
> work/solaris8-sparc/build-global.  however, the source was extracted
> to work/solaris8-sparc/build-isa-sparcv8/gkrellm-2.3.4/
> 
> Isn't there a GAR variable that expands to the correct path?  I
> thought $WORKDIR was it?

should be WORKSRC instead of WORKDIR (see [1]) and I usually use
post-extract-modulated, I am not quite sure whether the latter makes a
difference though. In case the problem persists, please submit the build
recipe so that others can have a look at it.

HTH

Sebastian

[1] http://sourceforge.net/apps/trac/gar/wiki/GAR%20Variable%20Reference


More information about the maintainers mailing list