Page MenuHomeFreeBSD

Force PREFIX to LINUXBASE.
ClosedPublic

Authored by xmj on Dec 4 2014, 4:01 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Dec 5, 11:00 PM
Unknown Object (File)
Nov 7 2024, 6:01 PM
Unknown Object (File)
Nov 6 2024, 12:26 PM
Unknown Object (File)
Nov 1 2024, 10:55 PM
Unknown Object (File)
Nov 1 2024, 10:51 PM
Unknown Object (File)
Oct 31 2024, 4:01 AM
Unknown Object (File)
Oct 2 2024, 9:07 PM
Unknown Object (File)
Oct 2 2024, 6:32 PM
Subscribers

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 Lint Coverage
Unit
No 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)