diff options
author | asau <asau@pkgsrc.org> | 2013-02-23 23:52:32 +0000 |
---|---|---|
committer | asau <asau@pkgsrc.org> | 2013-02-23 23:52:32 +0000 |
commit | ea10d18adeadb1752692bc61b91f30d21d374f67 (patch) | |
tree | 2e44efd3314df41510c7fc7464cc4f8e6c7d4ed8 | |
parent | 0518f8e80ac189373a381052669d0d39d9e5e56f (diff) | |
download | pkgsrc-ea10d18adeadb1752692bc61b91f30d21d374f67.tar.gz |
Help people using mk files outside pkgsrc, provide saner default values.
-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 \ |