diff options
| author | Mathieu Arnold <mat@FreeBSD.org> | 2025-11-23 10:14:45 +0000 |
|---|---|---|
| committer | Mathieu Arnold <mat@FreeBSD.org> | 2025-11-23 10:14:45 +0000 |
| commit | 07264510f82f6843178ab7e6901db3cfd29f8ca9 (patch) | |
| tree | bf584044a5b966622d438427b790dc16e64299e3 | |
| parent | 05f14b30ef5d73c43f0e6eb8c5b53a4814d4cbf2 (diff) | |
Mk: move bsd.local.mk to .sample
This allows people to modify it without the it being tracked and showing
as modified.
PR: 275745
| -rw-r--r-- | Mk/bsd.local.mk.sample (renamed from Mk/bsd.local.mk) | 4 | ||||
| -rw-r--r-- | Mk/bsd.port.mk | 4 |
2 files changed, 5 insertions, 3 deletions
diff --git a/Mk/bsd.local.mk b/Mk/bsd.local.mk.sample index 3a3c544d6380..77d6a5f7354e 100644 --- a/Mk/bsd.local.mk +++ b/Mk/bsd.local.mk.sample @@ -1,4 +1,6 @@ -# bsd.local.mk - Sandbox for local modification to ports framework. +# bsd.local.mk.local - Sandbox for local modification to ports framework. +# +# To use this feature, copy this file to Mk/bsd.local.mk, and modify as required # .if !defined(_POSTMKINCLUDED) && !defined(Local_Pre_Include) diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk index ad654761fcfb..eb71d0f7f7f8 100644 --- a/Mk/bsd.port.mk +++ b/Mk/bsd.port.mk @@ -1386,7 +1386,7 @@ PREFIX?= ${LOCALBASE} PKGCOMPATDIR?= ${LOCALBASE}/lib/compat/pkg . if defined(USE_LOCAL_MK) -.include "${PORTSDIR}/Mk/bsd.local.mk" +.sinclude "${PORTSDIR}/Mk/bsd.local.mk" . endif . for odir in ${OVERLAYS} .sinclude "${odir}/Mk/bsd.overlay.mk" @@ -1936,7 +1936,7 @@ PKGPREDEINSTALL?= ${PKGDIR}/pkg-pre-deinstall PKGPOSTDEINSTALL?= ${PKGDIR}/pkg-post-deinstall . if defined(USE_LOCAL_MK) -.include "${PORTSDIR}/Mk/bsd.local.mk" +.sinclude "${PORTSDIR}/Mk/bsd.local.mk" . endif . for odir in ${OVERLAYS} .sinclude "${odir}/Mk/bsd.overlay.mk" |
