tech-pkg archive

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

mksandbox --without-xsrc option



Hi folks,

The below patch adds a --without-xsrc option similar to the existing
--without-src option.  I've been using this to build a sandbox for a
couple of pkgsrc quarterly releases now without any problems.

Any reason not to commit this?

Cheers,
Simon.
--
Index: pkgtools/mksandbox/files/mksandbox
===================================================================
RCS file: /cvsroot/pkgsrc/pkgtools/mksandbox/files/mksandbox,v
retrieving revision 1.10
diff -d -p -u -r1.10 mksandbox
--- pkgtools/mksandbox/files/mksandbox	14 Oct 2016 12:50:07 -0000	1.10
+++ pkgtools/mksandbox/files/mksandbox	4 Apr 2018 01:41:15 -0000
@@ -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 ;;


Home | Main Index | Thread Index | Old Index