pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: packaging: how to use official target explicitly in Makefile



Klaus Heinz wrote:

> I want to use one of the official stage targets as an explicit
> requirement for a helper target "foo" in a package Makefile, like this:
>   
>   foo: extract
>         do something with extracted files

While this works now, after PR pkg/34061 was closed, I do not understand
why the patch stage is also completed if "foo" only depends on
"extract":

   $ make foo
   ...
   ===> Overriding tools...
   ===> Creating toolchain wrappers...
   ===> Extracting...
   ===> Patching...
   => Applying pkgsrc patches...
   => Verifying patch-aa...
   ...
   $
 
   $ ls -1t work.i386/.*done
   work.i386/.build_done
   work.i386/.configure_done
   work.i386/.patch_done
   work.i386/.extract_done
   work.i386/.wrapper_done
   work.i386/.tools_done
   work.i386/.depends_done

ciao
     Klaus



Home | Main Index | Thread Index | Old Index