Page MenuHomeFreeBSD

Force PREFIX to LINUXBASE.
ClosedPublic

Authored by xmj on Dec 4 2014, 4:01 PM.
Tags
None
Referenced Files
F81516418: D1265.diff
Wed, Apr 17, 10:46 AM
F81506668: D1265.diff
Wed, Apr 17, 8:09 AM
Unknown Object (File)
Mon, Apr 8, 10:31 AM
Unknown Object (File)
Mon, Apr 8, 10:22 AM
Unknown Object (File)
Mar 8 2024, 6:09 PM
Unknown Object (File)
Feb 11 2024, 5:54 AM
Unknown Object (File)
Dec 23 2023, 10:22 AM
Unknown Object (File)
Nov 21 2023, 12:13 AM
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)