./pkgtools/pkg_comp, Build packages inside a chroot jail

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: pkgsrc-2015Q3, Version: 1.38nb1, Package name: pkg_comp-1.38nb1, Maintainer: jmmv

pkg_comp is a small utility designed to build packages inside a
clean chroot tree.

Some ideas about what to use it for (taken from manpage):
* Build packages for other system versions. For example, build
packages for NetBSD 1.5 while you are running NetBSD current.
* Build packages using different options than your current system
like changing the threading library, COPTS, placement of
configuration files, etc.
* Debug the build process of a package, checking if buildlinks
work properly.
* Avoid autoconf's side effects by keeping a separate chroot for
each project, like one for GNOME2 and another one for KDE3.
* Schedule builds of package sets for several different machines.


Version history: (Expand)


CVS history: (Expand)


   2015-11-23 19:46:46 by Benny Siegert | Files touched by this commit (3)
Log message:
Pullup ticket #4859 - requested by agc
pkgtools/pkg_comp: bugfix

Revisions pulled up:
- pkgtools/pkg_comp/Makefile                                    1.55
- pkgtools/pkg_comp/files/pkg_comp.8                            1.41
- pkgtools/pkg_comp/files/pkg_comp.sh                           1.43

---
   Module Name:    pkgsrc
   Committed By:   agc
   Date:           Sat Nov 21 23:10:27 UTC 2015

   Modified Files:
           pkgsrc/pkgtools/pkg_comp: Makefile
           pkgsrc/pkgtools/pkg_comp/files: pkg_comp.8 pkg_comp.sh

   Log message:
   Update pkg_comp to 1.38nb1

   pkgsrc uses the "BUILD_TARGET" definition internally as the primary
   target for building in a package's WRKDIR.  It defaults to "all".
   So pkgsrc cd's to ${WRKDIR} and does a "make ${BUILD_TARGET}"

   pkg_comp also wants to use the same "BUILD_TARGET" definition
   internally for itself to guide the builds for making binary packages.
   It's done at a higher level than the pkgsrc definition.  It defaults
   to "package".

   The use of the same name for two different purposes can cause
   pkg_comp to fail to build packages. This commit renames the pkg_comp
   definition to be "BUILD_PKG_COMP_TARGET".

   With this change in place, my pkg_comp builds now complete successfully.

   Bump PKGREVISION for the BUILD_PKG_COMP_TARGET fix