[PC-BSD Commits] r3400 - in pcbsd/trunk/system-overlay: PCBSD/Scripts etc

svn at pcbsd.org svn at pcbsd.org
Mon Feb 2 12:41:26 PST 2009


Author: kris
Date: 2009-02-02 12:41:26 -0800 (Mon, 02 Feb 2009)
New Revision: 3400

Modified:
   pcbsd/trunk/system-overlay/PCBSD/Scripts/changeportdb.sh
   pcbsd/trunk/system-overlay/etc/make.conf
Log:

Updated default make.conf, and fixed our changeportdb.sh script to be much more useful



Modified: pcbsd/trunk/system-overlay/PCBSD/Scripts/changeportdb.sh
===================================================================
--- pcbsd/trunk/system-overlay/PCBSD/Scripts/changeportdb.sh	2009-02-02 19:58:21 UTC (rev 3399)
+++ pcbsd/trunk/system-overlay/PCBSD/Scripts/changeportdb.sh	2009-02-02 20:41:26 UTC (rev 3400)
@@ -1,10 +1,18 @@
-#!/bin/sh
+#!/bin/tcsh
 # Helper script which can be sourced when we need to work with the 
 # the default PCBSD localbase and its ports
 ############################################################################
 
-PKG_DBDIR="/PCBSD/var/db" ; export PKG_DBDIR
-PORT_DBDIR="/PCBSD/var/db" ; export PORT_DBDIR
-PATH="${PATH}:/PCBSD/local/bin:/PCBSD/local/sbin:/PCBSD/local/kde4/bin"; export PATH
-LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:/PCBSD/local/lib:/PCBSD/local/kde4/lib:/PCBSD/local/lib/qt4"; export LD_LIBRARY_PATH
+setenv PKG_DBDIR /PCBSD/var/db
+setenv PORT_DBDIR /PCBSD/var/db
+setenv PATH /PCBSD/local/bin:/PCBSD/local/sbin:/PCBSD/local/kde4/bin:$PATH
+setenv LD_LIBRARY_PATH /PCBSD/local/lib:/PCBSD/local/kde4/lib:/PCBSD/local/lib/qt4
 
+clear
+echo "Set the following variables:"
+echo " PKG_DBDIR=/PCBSD/var/db"
+echo " PORT_DBDIR=/PCBSD/var/db"
+echo " "
+echo "WARNING! Modifying PC-BSD base packages could render the system in-operable!"
+
+/bin/tcsh

Modified: pcbsd/trunk/system-overlay/etc/make.conf
===================================================================
--- pcbsd/trunk/system-overlay/etc/make.conf	2009-02-02 19:58:21 UTC (rev 3399)
+++ pcbsd/trunk/system-overlay/etc/make.conf	2009-02-02 20:41:26 UTC (rev 3400)
@@ -4,3 +4,9 @@
 
 # Uncomment this if you want to do port builds with no interaction
 #BATCH=yes
+
+# These two options change if you want to tweak the ports in /PCBSD/local
+# WARNING! By modifying ports in the /PCBSD/local base, you may cause problems
+# with online-updates, which aren't aware of your local modifications
+#X11BASE=/PCBSD/local
+#LOCALBASE=/PCBSD/local



More information about the Commits mailing list