[haiku-development] Re: port.recipe: libtoolize: command not found

  • From: Rene Gollent <anevilyak@xxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Thu, 23 Mar 2017 08:09:53 -0400

On Thu, Mar 23, 2017 at 1:03 AM, Mizsei Zoltán <miqlas@xxxxxxxxx> wrote:

There is no REWQUIRES and BUILD_REQUIRES defined in this recipe. It is old, 
and needs to be updated to the current standards.
Check the generic recipe template in haikuporter folder and add the missing 
sections.


Just to clarify a bit further: haikuports packages are built from a
chroot jail that only contains the packages specified as being
required by the recipe. This is to ensure that the package is built in
a consistent manner, which is to say, without being accidentally
influenced by some other package the builder might have installed on
their system (i.e. configure detecting some extra library that isn't
normally present). The requires and build_requires sections of the
recipe indicate what other packages the current one needs in order to
run and be built, respectively. In this case, for instance, libtool
would need to be added to the BUILD_REQUIRES, but not REQUIRES, since
it isn't needed after the build process.

Regards,

Rene

Other related posts: