Subject: Re: default values for log and PID file path names?
To: Georg Schwarz <>
From: Roland Illig <>
List: tech-pkg
Date: 08/01/2006 20:20:57
Georg Schwarz wrote:
> Is there a system variable with pkgsrc that specifies where log file  
> should be created?
> Can we assume that ${VARBASE}/log does exist and is a suitable place  to 
> store logs?
> The same question holds for PID files and ${VARBASE}/run.
> Is it possible to pass such values using the pkgsrc options framework  
> giving someone installing pkgsrc the opportunity to specify different  
> values than the defaults?

You should have occasionally seen a message when building packages, 
which looks like:

The following variables will affect the build process of this package,
gtar-base-1.15.1nb2.  Their current value is shown below:

         * GNU_PROGRAM_PREFIX = g
         * GTAR_PROGRAM_PREFIX = g

You may want to abort the process now with CTRL-C and change their value
before continuing.  Be sure to run `/usr/bin/make clean' after
the changes.

These variables are the ones that are added to BUILD_DEFS by the 
package. (This is completely undocumented, at least in the pkgsrc guide.)

Or did I understand you wrong, and you wanted to ask:

Can we have additional variables VAR_LOG_DIR and VAR_RUN_DIR that can be 
configured independent from VARBASE?