aboutsummaryrefslogtreecommitdiffstats
path: root/Mk/bsd.port.mk
diff options
context:
space:
mode:
authorlinimon <linimon@FreeBSD.org>2010-12-17 11:21:19 +0800
committerlinimon <linimon@FreeBSD.org>2010-12-17 11:21:19 +0800
commitb9e9460ff7a3aa7b6bb3ba7d4f17d8b9c9c279a7 (patch)
treefec550d39e81536295149d7da487dc41a8ce9c2e /Mk/bsd.port.mk
parent844e13937347c2b68e3fdbb06ed1633421d48814 (diff)
downloadfreebsd-ports-b9e9460ff7a3aa7b6bb3ba7d4f17d8b9c9c279a7.tar.gz
freebsd-ports-b9e9460ff7a3aa7b6bb3ba7d4f17d8b9c9c279a7.tar.zst
freebsd-ports-b9e9460ff7a3aa7b6bb3ba7d4f17d8b9c9c279a7.zip
Add a temporary backstop definition of SRC_BASE. A more general solution
is forthcoming. While here, remove a stale comment.
Diffstat (limited to 'Mk/bsd.port.mk')
-rw-r--r--Mk/bsd.port.mk5
1 files changed, 3 insertions, 2 deletions
diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk
index d82be447729f..5f64af73170e 100644
--- a/Mk/bsd.port.mk
+++ b/Mk/bsd.port.mk
@@ -608,6 +608,8 @@ FreeBSD_MAINTAINER= portmgr@FreeBSD.org
# Default: ${MASTERDIR}/files
# PKGDIR - A directory containing any package creation files.
# Default: ${MASTERDIR}
+# SRC_BASE - The root of the src tree. (Some ports require this to get
+# kernel sources). Default: /usr/src
# UID_FILES - A list of files containing information about registered UIDs.
# Note that files have decreasing priority.
# GID_FILES - A list of files containing information about registered GIDs.
@@ -1157,6 +1159,7 @@ LINUXBASE?= /compat/linux
DISTDIR?= ${PORTSDIR}/distfiles
_DISTDIR?= ${DISTDIR}/${DIST_SUBDIR}
INDEXDIR?= ${PORTSDIR}
+SRC_BASE?= /usr/src
.include "${PORTSDIR}/Mk/bsd.commands.mk"
@@ -3437,8 +3440,6 @@ describe:
# Pre-everything
-# XXX MCL suggests deprecating this in favor of something
-# less likely to be abused by overloading
pre-everything::
@${DO_NADA}