pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/pkgtools/mksandbox/files Add a --without-xsrc option s...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c125c7297982
branches:  trunk
changeset: 378608:c125c7297982
user:      simonb <simonb%pkgsrc.org@localhost>
date:      Thu Apr 12 02:08:47 2018 +0000

description:
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:

 pkgtools/mksandbox/files/mksandbox |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (30 lines):

diff -r d4322c4fd418 -r c125c7297982 pkgtools/mksandbox/files/mksandbox
--- a/pkgtools/mksandbox/files/mksandbox        Thu Apr 12 01:22:46 2018 +0000
+++ b/pkgtools/mksandbox/files/mksandbox        Thu Apr 12 02:08:47 2018 +0000
@@ -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@localhost>
 # All rights reserved.
@@ -52,8 +52,8 @@
 {
        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 @@
        --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 ;;



Home | Main Index | Thread Index | Old Index