pkgsrc-Changes-HG archive

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

pkgsrc: Add a --without-xsrc option similar to the existing --wi...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d24b5818fd63
branches:  trunk
changeset: 306170:d24b5818fd63
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 29754f507a36 -r d24b5818fd63 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