about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--core/conf/pkgmk.conf18
-rw-r--r--core/ports.html32
2 files changed, 25 insertions, 25 deletions
diff --git a/core/conf/pkgmk.conf b/core/conf/pkgmk.conf
index fe82d4d..14cc258 100644
--- a/core/conf/pkgmk.conf
+++ b/core/conf/pkgmk.conf
@@ -5,6 +5,15 @@
 export CFLAGS="-O2 -g -march=x86-64"
 export CXXFLAGS="${CFLAGS}"
 
+## ccache settings
+#export PATH="/usr/lib/ccache/:$PATH"
+#export CCACHE_DIR="/usr/ports/ccache"
+#export CCACHE_PREFIX="distcc"
+#export CCACHE_COMPILERCHECK="%compiler% -dumpversion; crux"
+#
+#export DISTCC_HOSTS="localhost/4 worker/4"
+#export DISTCC_DIR="/urs/ports/distcc"
+
 # local compile only
 export JOBS=$(nproc)
 export MAKEFLAGS="-j $JOBS"
@@ -48,13 +57,4 @@ PKGMK_WORK_DIR="/usr/ports/work/$name"
 # PKGMK_COMPRESSION_MODE="gz"
 # PKGMK_UP_TO_DATE=yes
 
-## ccache settings
-#export PATH="/usr/lib/ccache/:$PATH"
-#export CCACHE_DIR="/usr/ports/ccache"
-#export CCACHE_PREFIX="distcc"
-#export CCACHE_COMPILERCHECK="%compiler% -dumpversion; crux"
-#
-#export DISTCC_HOSTS="localhost/4 worker/4"
-#export DISTCC_DIR="/urs/ports/distcc"
-
 # End of file
diff --git a/core/ports.html b/core/ports.html
index 5350ee2..a977568 100644
--- a/core/ports.html
+++ b/core/ports.html
@@ -199,7 +199,17 @@
         </pre>
 
         <p>Configure pkgmk and define number of cores available,
-        in this example get dynamically Edit /etc/pkgmk.conf;</p>
+        in this example get dynamically Edit /etc/pkgmk.conf and
+        set ccaching directory and instructs to use distcc
+        backend;</p>
+
+        <pre>
+        # ccache settings
+        export PATH="/usr/lib/ccache/:$PATH"
+        export CCACHE_DIR="/usr/ports/ccache"
+        export CCACHE_PREFIX="distcc"
+        export CCACHE_COMPILERCHECK="%compiler% -dumpversion; crux"
+        </pre>
 
         <pre>
         ## local compile only
@@ -214,26 +224,16 @@
         export SCONSFLAGS="$MAKEFLAGS"
         </pre>
 
-        <p>Set ccaching directory and instructs to
-        use distcc backend;</p>
-
-        <pre>
-        # ccache settings
-        export PATH="/usr/lib/ccache/:$PATH"
-        export CCACHE_DIR="/usr/ports/ccache"
-        export CCACHE_PREFIX="distcc"
-        export CCACHE_COMPILERCHECK="%compiler% -dumpversion; crux"
-        </pre>
-
         <p>Set distcc hosts and respective number of
-        cpu cores to send work;</p>
+        cpu cores to send work, hosts names, exp; "worker" must
+        be configured on /etc/hosts.</p>
+
         <pre>
         export DISTCC_HOSTS="localhost/4 worker/4"
         export DISTCC_DIR="/urs/ports/distcc"
         </pre>
 
-        <p>Host name "worker" must be configured on
-        /etc/hosts. Configure distcc daemon, edit
+        <p>Configure distcc daemon, edit
         /etc/rc.d/distccd;</p>
 
         <pre>
@@ -257,7 +257,7 @@
         <a href="index.html">Core OS Index</a>
         <p>
         This is part of the Hive System Documentation.
-        Copyright (C) 2018
+        Copyright (C) 2019
         Hive Team.
         See the file <a href="../fdl-1.3-standalone.html">Gnu Free Documentation License</a>
         for copying conditions.</p>