diff options
Diffstat (limited to '')
-rw-r--r-- | devel/linux_kdump/Makefile | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/devel/linux_kdump/Makefile b/devel/linux_kdump/Makefile index 35b8290f424d..43a8ad72983c 100644 --- a/devel/linux_kdump/Makefile +++ b/devel/linux_kdump/Makefile @@ -24,18 +24,15 @@ PLIST_FILES= bin/linux_kdump .include <bsd.port.pre.mk> -.ifndef(SRCDIR) -SRCDIR= /usr/src pre-everything:: - @${ECHO_MSG} '===> Using the FreeBSD source tree under /usr/src' - @${ECHO_MSG} '===> Set SRCDIR to use an alternate source tree' -.endif + @${ECHO_MSG} '===> Using the FreeBSD source tree under ${SRC_BASE}' + @${ECHO_MSG} '===> Set SRC_BASE to use an alternate source tree' -.if !exists(${SRCDIR}/sys/i386/linux/syscalls.master) -IGNORE= requires kernel source present in ${SRCDIR}/sys +.if !exists(${SRC_BASE}/sys/i386/linux/syscalls.master) +IGNORE= requires kernel source present in ${SRC_BASE}/sys .endif -.if !exists(${SRCDIR}/usr.bin/ktrace/subr.c) -IGNORE= requires ktrace source present in ${SRCDIR}/usr.bin/ktrace +.if !exists(${SRC_BASE}/usr.bin/ktrace/subr.c) +IGNORE= requires ktrace source present in ${SRC_BASE}/usr.bin/ktrace .endif .if exists(${LINUXBASE}/etc/fedora-release) IGNORE= does not build with the default linux base, use the package instead |