Page MenuHomeFreeBSD

Force PREFIX to LINUXBASE.
ClosedPublic

Authored by xmj on Dec 4 2014, 4:01 PM.

Details

Reviewers
swills
koobs
Group Reviewers
portmgr
Summary

As reported by @bapt, installing linux packages can conflict with FreeBSD
versions of the same software *if* PREFIX is overridden (and, e.g., set to
/usr/local) in /etc/make.conf.

We already allow the user to override LINUXBASE, so they should be able to use
this as (forced) prefix if a port uses the linux prefix settings.

Test Plan
  • set PREFIX to /var/local
  • set LINUXBASE to /compat/linux32
  • poudriere testport -I [..] -o emulators/linux_base-c6
  • log in to jail, notice bsd local stuff in /var/local, linux base stuff in /compat/linux32.

Diff Detail

Repository
rP FreeBSD ports repository
Lint
No Linters Available
Unit
No Unit Test Coverage

Event Timeline

xmj retitled this revision from to Force PREFIX to LINUXBASE..
xmj updated this object.
xmj edited the test plan for this revision. (Show Details)
xmj added reviewers: portmgr, swills, koobs.
xmj added a subscriber: bapt.
koobs edited edge metadata.

This LGTM, but also needs portmgr approval to proceed

swills edited edge metadata.

Approved

This revision is now accepted and ready to land.Dec 9 2014, 5:18 PM

Committed revision 374414. (Mk/bsd.port.mk change)
Committed revision 374415 (emulators/linux_base-{c6,f10} changes)