diff options
author | Mark Linimon <linimon@FreeBSD.org> | 2010-12-17 03:59:59 +0000 |
---|---|---|
committer | Mark Linimon <linimon@FreeBSD.org> | 2010-12-17 03:59:59 +0000 |
commit | c3cb1a5ebfe1fd6edb35d1806a5ef41204bd0f97 (patch) | |
tree | ac4735ef299eba3783cc44c1c08fd1aa3f29b7cc /devel/linux_kdump/Makefile | |
parent | Use the $SRC_BASE Makevar instead of hard-coding. (diff) |
Switch from non-standard $SRCDIR to the new standard $SRC_BASE.
Hat: portmgr
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 |