Subject: CVS commit: [pkgsrc-2015Q3] pkgsrc/pkgtools/pkg_comp
From: Benny Siegert
Date: 2015-11-23 19:46:46
Message id: 20151123184646.26D9D98@cvs.netbsd.org

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

Files:
RevisionActionfile
1.54.2.1modifypkgsrc/pkgtools/pkg_comp/Makefile
1.40.2.1modifypkgsrc/pkgtools/pkg_comp/files/pkg_comp.8
1.42.2.1modifypkgsrc/pkgtools/pkg_comp/files/pkg_comp.sh