aboutsummaryrefslogtreecommitdiff
path: root/Mk/bsd.port.mk
diff options
context:
space:
mode:
authorMark Linimon <linimon@FreeBSD.org>2010-12-17 03:21:19 +0000
committerMark Linimon <linimon@FreeBSD.org>2010-12-17 03:21:19 +0000
commit6271f6f220bc7dedcf8f090e5930ca130d7ca5c9 (patch)
tree430c39409b4ac98f288dc69a79c7666f4513b059 /Mk/bsd.port.mk
parent8138f75d54abe0f976c99ef8fcf3d33c464674b6 (diff)
downloadports-6271f6f220bc7dedcf8f090e5930ca130d7ca5c9.tar.gz
ports-6271f6f220bc7dedcf8f090e5930ca130d7ca5c9.zip
Add a temporary backstop definition of SRC_BASE. A more general solution
is forthcoming. While here, remove a stale comment.
Notes
Notes: svn path=/head/; revision=266463
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}