aboutsummaryrefslogtreecommitdiff
path: root/devel/linux_kdump
diff options
context:
space:
mode:
authorMark Linimon <linimon@FreeBSD.org>2010-12-17 03:59:59 +0000
committerMark Linimon <linimon@FreeBSD.org>2010-12-17 03:59:59 +0000
commitc3cb1a5ebfe1fd6edb35d1806a5ef41204bd0f97 (patch)
treeac4735ef299eba3783cc44c1c08fd1aa3f29b7cc /devel/linux_kdump
parentf261d2ae740fa49960e729aabba6db50cfa3af15 (diff)
downloadports-c3cb1a5ebfe1fd6edb35d1806a5ef41204bd0f97.tar.gz
ports-c3cb1a5ebfe1fd6edb35d1806a5ef41204bd0f97.zip
Notes
Diffstat (limited to 'devel/linux_kdump')
-rw-r--r--devel/linux_kdump/Makefile15
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