Question about WRKSRC

Paul Schmehl pauls at
Tue Feb 3 21:11:38 PST 2009

I maintain the sguil ports; security/sguil-server, security/sguil-sensor 
and security/sguil-agent.  It came to my attention today that the 
pkg-install script that I've written for the security/sguil-server port 
fails during package building.  (The script works fine when compiling from 

The problem appears to be related to the location of WRCSRC, which appears 
to be different than it is when building from source.  Am I correct about 
that?  Is WRCSRC different when building packages?  If so, is there a way 
to differentiate programmatically between a port being built from source 
and one being built from a package?

Paul Schmehl (pauls at
Senior Information Security Analyst
The University of Texas at Dallas

More information about the freebsd-ports mailing list