[gobolinux-users] Error in recipe

Aitor Pérez Iturri atuin at phreaker.net
Mon Feb 19 22:28:09 UTC 2007


El Mon, 19 Feb 2007 13:03:30 +0100
"Jonas Karlsson" <jonka750 at student.liu.se> escribi__:

> 2007/2/19, Aitor Pérez Iturri <atuin at phreaker.net>:
> > I'm building a new recipe for AsciiDoc, recipe runs fine, but
> > RecipeLint shows me this msg:
> >
> > ERROR: Patch references /Programs tree explicitly. Rename to
> > 01-install.sh.patch.in and use @%Compile_target%@ and
> > @%Compile_<dep>_path%@.
> >
> > The patch contains the path handcoded (/Programs/....), how can i
> > fix that.
> >
> Just as the RecipeLint output stated. If you have the path for
> AsciiDoc in the patch, i.e. /Programs/AsciiDoc/8.1.0, you should
> replace that with the string "@%Compile_target%@" (without quotes). If
> you have the dependency Foo X.Y in the path in the patch you should
> replace it with "@%Compile_foo_path%@". You should also rename the
> patch to have the suffix ".patch.in", instead of just ".patch".
> (further see
> http://gobo.kundor.org/wiki/Using_patches_with_Compile#Dynamic_patches ).
> 

Ok, thanks for the answer. I didn't know that feature in patches. I
will update the recipe.

Thanks

-- 
... Bardulia quae nunc vocatur Castella ...



More information about the gobolinux-users mailing list