diff options
author | simonb <simonb@pkgsrc.org> | 2018-04-12 02:08:47 +0000 |
---|---|---|
committer | simonb <simonb@pkgsrc.org> | 2018-04-12 02:08:47 +0000 |
commit | 30980e1dbca3d14c5b75e1e4539e0d95efd6e228 (patch) | |
tree | e352c32fb62a4759d0afa86e341a14b83c176a8a /pkgtools | |
parent | 0c4420ff3f9e72ec364fde080b77d9344a9332fd (diff) | |
download | pkgsrc-30980e1dbca3d14c5b75e1e4539e0d95efd6e228.tar.gz |
Add a --without-xsrc option similar to the existing --without-src
option. Allows for building X packages without needing xsrc in the
sandbox.
Approved by agc@.
Diffstat (limited to 'pkgtools')
-rwxr-xr-x | pkgtools/mksandbox/files/mksandbox | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/pkgtools/mksandbox/files/mksandbox b/pkgtools/mksandbox/files/mksandbox index 7e439caa03e..c280a6fe07d 100755 --- a/pkgtools/mksandbox/files/mksandbox +++ b/pkgtools/mksandbox/files/mksandbox @@ -1,6 +1,6 @@ #! /bin/sh -# $NetBSD: mksandbox,v 1.10 2016/10/14 12:50:07 jperkin Exp $ +# $NetBSD: mksandbox,v 1.11 2018/04/12 02:08:47 simonb Exp $ # Copyright (c) 2002,2012 Alistair Crooks <agc@NetBSD.org> # All rights reserved. @@ -52,8 +52,8 @@ usage() { echo "usage: mksandbox [--mounthost=host] [--rodirs=dir1,...] [--rwdirs=dir1,...]" echo " [--pkgsrc=dir] [--src=srcdir] [--xsrc=xsrcdir]" - echo " [--without-src] [--without-pkgsrc] [--without-x]" - echo " [--verbose] sandbox-dir" + echo " [--without-src] [--without-pkgsrc] [--without-xsrc]" + echo " [--without-x] [--verbose] sandbox-dir" exit 1 } @@ -181,6 +181,7 @@ while [ $# -gt 0 ]; do --rwdirs=*) rwdirs=`echo $1 | $sedprog -e 's|^--rwdirs=||'` ;; --without-pkgsrc) with_pkgsrc=no ;; --without-src) need_src=no ;; + --without-xsrc) need_xsrc=no ;; --without-x) with_x=no ;; --verbose) set -x ;; -*) usage ;; |