[PC-BSD Commits] r990 - pbibuild/pbibuilder/docs

svn at pcbsd.org svn at pcbsd.org
Mon Dec 10 08:48:50 PST 2007


Author: kris
Date: 2007-12-10 08:48:50 -0800 (Mon, 10 Dec 2007)
New Revision: 990

Modified:
   pbibuild/pbibuilder/docs/HOWTO-MODULES
Log:

Updated the readme for HOWTO-MODULES of the pbibuilder with new information
about preportmake.sh script



Modified: pbibuild/pbibuilder/docs/HOWTO-MODULES
===================================================================
--- pbibuild/pbibuilder/docs/HOWTO-MODULES	2007-12-10 16:24:56 UTC (rev 989)
+++ pbibuild/pbibuilder/docs/HOWTO-MODULES	2007-12-10 16:48:50 UTC (rev 990)
@@ -112,9 +112,27 @@
 /usr/local/lib/nss/* autolibs/
 ^^^^^ Wildcards are also allowed, in this case to the autolibs/ directory
 
+-------------------------------------------------------------------------------
+The preportmake.sh script
+-------------------------------------------------------------------------------
+This script, if it present is run right before starting the "make install"
+of your port. This allows you to make modifications to the pbisandbox 
+environment or to the port building source itself. Normally this won't be
+necessary, unless working with a very tricky program to get compiled.
 
+Example:
 
+#!/bin/sh
 
+# Remove any /Programs/BMPx link, and recreate it, so we can use 
+#PREFIX=/Programs/BMPx in the make.conf properly
+
+rm -rf /Programs/BMPx
+mkdir /Programs
+ln -s /usr/local /Programs/BMPx
+
+
+
 -------------------------------------------------------------------------------
 The build.sh script
 -------------------------------------------------------------------------------



More information about the Commits mailing list