pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mk/pkgformat/pkg/templates mk/pkgtasks: Add additional...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7dca8ee59d83
branches:  trunk
changeset: 366286:7dca8ee59d83
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Thu Aug 10 05:38:00 2017 +0000

description:
mk/pkgtasks: Add additional variables used by package tasks.

These should be explicitly set in the scripts, otherwise, the
pkgtasks defaults are used by locating programs in the $PATH
or are hardcoded defaults used for testing pkgtasks.

diffstat:

 mk/pkgformat/pkg/templates/header |  11 ++++++++++-
 1 files changed, 10 insertions(+), 1 deletions(-)

diffs (46 lines):

diff -r 9b5d7fdf0426 -r 7dca8ee59d83 mk/pkgformat/pkg/templates/header
--- a/mk/pkgformat/pkg/templates/header Thu Aug 10 05:37:44 2017 +0000
+++ b/mk/pkgformat/pkg/templates/header Thu Aug 10 05:38:00 2017 +0000
@@ -29,7 +29,7 @@
 # ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 # POSSIBILITY OF SUCH DAMAGE.
 #
-# $NetBSD: header,v 1.3 2017/06/07 20:24:19 jlam Exp $
+# $NetBSD: header,v 1.4 2017/08/10 05:38:00 jlam Exp $
 
 # Package task loader.
 : ${TASK_MODULE_DIR:=@LOCALBASE@/share/pkgtasks-1}
@@ -69,10 +69,13 @@
 DATE="@DATE@"
 FIND="@FIND@"
 ID="@ID@"
+INSTALL_INFO="@INSTALL_INFO@"
 LDCONFIG="@LDCONFIG@"
 LN="@LN@"
 LS="@LS@"
 MKDIR="@MKDIR@"
+MKFONTDIR="@MKFONTDIR@"
+MKFONTSCALE="@MKFONTSCALE@"
 MKTEMP="@MKTEMP@"
 MV="@MV@"
 PRINTF="@PRINTF@"
@@ -80,6 +83,8 @@
 RMDIR="@RMDIR@"
 SED="@SED@"
 SORT="@SORT@"
+TTMKFDIR="@TTMKFDIR@"
+TYPE1INST="@TYPE1INST@"
 UNAME="@UNAME@"
 
 # Variables for addgroup/adduser programs used by pkgtasks.
@@ -112,6 +117,10 @@
 TRUE="@TRUE@"
 XARGS="@XARGS@"
 
+# Path variables used by package tasks.
+OCAML_SITELIB="@OCAML_SITELIB@"
+X11_ENCODINGSDIR="@X11_ENCODINGSDIR@"
+
 # Variables for the pkg_install package tools.
 PKG_ADMIN="@PKG_ADMIN@"
 PKG_INFO="@PKG_INFO@"



Home | Main Index | Thread Index | Old Index