summaryrefslogtreecommitdiffstats
path: root/sys/conf
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2004-11-14 00:22:18 +0000
committerimp <imp@FreeBSD.org>2004-11-14 00:22:18 +0000
commit75553849efc600a68bc4722375e039bdeea609cb (patch)
tree296bc874720cd289dc4a5b8fd0c4454f9afd1e0a /sys/conf
parent6d227fe7bb9bed4231f363183cb77c2e62131653 (diff)
downloadFreeBSD-src-75553849efc600a68bc4722375e039bdeea609cb.zip
FreeBSD-src-75553849efc600a68bc4722375e039bdeea609cb.tar.gz
Use PORTSDIR, falling back to /usr/ports
Diffstat (limited to 'sys/conf')
-rw-r--r--sys/conf/kern.post.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/conf/kern.post.mk b/sys/conf/kern.post.mk
index 1c64d72..a681591 100644
--- a/sys/conf/kern.post.mk
+++ b/sys/conf/kern.post.mk
@@ -36,7 +36,7 @@ PORTSMODULESENV=SYSDIR=${SYSDIR}
${target}: ports-${target}
ports-${target}:
.for __i in ${PORTS_MODULES}
- cd /usr/ports/${__i}; ${PORTSMODULESENV} ${MAKE} -B ${target}
+ cd $${PORTSDIR:-/usr/ports/}${__i}; ${PORTSMODULESENV} ${MAKE} -B ${target}
.endfor
.endfor
.endif
OpenPOWER on IntegriCloud