p5 ports don't respect LOCALBASE

Rich Winkel rich at math.missouri.edu
Thu Nov 13 13:16:29 PST 2003

I support various types of servers and workstations which need
different "local" software sets.  I do all my building on one
machine, so I use LOCALBASE and PKG_DBDIR in /etc/make.conf to
keep the various configurations separate.  Unfortunately many ports
don't respect the LOCALBASE setting and install into /usr/local,
even while recording the packing list as being in LOCALBASE!

The p5 ports seem especially bad about this.  I understand the
need for perl to be able to find its local packages, so after I
manually fix things up I need to know how to tell perl to look
for its stuff under LOCALBASE instead of /usr/local.  Can someone
tell me?

Or alternatively, has someone else found a better way to deal with
the whole problem of maintaining different software sets??



More information about the freebsd-questions mailing list