diff options
author | asau <asau> | 2013-02-23 23:52:32 +0000 |
---|---|---|
committer | asau <asau> | 2013-02-23 23:52:32 +0000 |
commit | fedb9b1576af1d91e19dd33e8517328db0c71501 (patch) | |
tree | 2e44efd3314df41510c7fc7464cc4f8e6c7d4ed8 /pkgtools | |
parent | 8498c7c2ca7a13bbdb5654c4dd8b91b486095cd5 (diff) | |
download | pkgsrc-fedb9b1576af1d91e19dd33e8517328db0c71501.tar.gz |
Help people using mk files outside pkgsrc, provide saner default values.
Diffstat (limited to 'pkgtools')
-rwxr-xr-x | pkgtools/bootstrap-mk-files/files/bootstrap.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/pkgtools/bootstrap-mk-files/files/bootstrap.sh b/pkgtools/bootstrap-mk-files/files/bootstrap.sh index b27bacf9674..d9a02f19920 100755 --- a/pkgtools/bootstrap-mk-files/files/bootstrap.sh +++ b/pkgtools/bootstrap-mk-files/files/bootstrap.sh @@ -12,6 +12,14 @@ # - SYSCONFDIR # +: ${CP:=cp} +: ${SED:=sed} +: ${OPSYS:=$(uname)} +: ${ROOT_USER:=$(id -un 0)} +: ${ROOT_GROUP:=$(id -gn "${ROOT_USER}")} +: ${MK_DST:=/usr/local/share/mk} +: ${SYSCONFDIR:=/usr/local/etc} + for file in bsd.README bsd.dep.mk bsd.depall.mk bsd.doc.mk bsd.files.mk \ bsd.hostprog.mk bsd.inc.mk bsd.info.mk bsd.kernobj.mk bsd.kinc.mk \ bsd.kmod.mk bsd.lib.mk bsd.links.mk bsd.man.mk bsd.nls.mk \ |