[gobolinux-users] Error in recipe

Jonas Karlsson jonka750 at student.liu.se
Mon Feb 19 12:03:30 UTC 2007


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
).

-- 
/Jonas


More information about the gobolinux-users mailing list