diff options
author | imp <imp@FreeBSD.org> | 2004-11-14 00:22:18 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2004-11-14 00:22:18 +0000 |
commit | 75553849efc600a68bc4722375e039bdeea609cb (patch) | |
tree | 296bc874720cd289dc4a5b8fd0c4454f9afd1e0a /sys/conf/kern.post.mk | |
parent | 6d227fe7bb9bed4231f363183cb77c2e62131653 (diff) | |
download | FreeBSD-src-75553849efc600a68bc4722375e039bdeea609cb.zip FreeBSD-src-75553849efc600a68bc4722375e039bdeea609cb.tar.gz |
Use PORTSDIR, falling back to /usr/ports
Diffstat (limited to 'sys/conf/kern.post.mk')
-rw-r--r-- | sys/conf/kern.post.mk | 2 |
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 |