Subject: packaging: how to use official target explicitly in Makefile
To: None <pkgsrc-users@NetBSD.org>
From: Klaus Heinz <k.heinz.jul.sechs@kh-22.de>
List: pkgsrc-users
Date: 07/23/2006 16:43:02
Hi,
  
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
  
At least in the case of extract this does not work as expected:
  
  $ make foo
  ===> Checking for vulnerabilities...
  => Required installed package...
  => Checksum...
  ...
  ===> Installing dependencies...
  => Required installed package...
  ...
  ===> Overriding tools...
  ===> Creating toolchain wrappers...
  $

I see the COOKIE files .depends_done, .tools_done, .wrapper_done,
.configure_done and .build_done (the package sets NO_CONFIGURE and
NO_BUILD) but I do not see any extracted files.

Is this not possible anymore?

ciao
     Klaus