Subject: Re: packaging: how to use official target explicitly in Makefile
To: None <pkgsrc-users@NetBSD.org>
From: Klaus Heinz <heinz@NetBSD.org>
List: pkgsrc-users
Date: 07/24/2006 11:45:20
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