2006-01-02 23:02:11 +00:00
|
|
|
# New ports collection makefile for: linux_kdump
|
|
|
|
# Date created: Nov 26 1997
|
|
|
|
# Whom: msmith@FreeBSD.org
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= linux_kdump
|
|
|
|
PORTVERSION= 1.5
|
2006-07-19 20:02:22 +00:00
|
|
|
PORTREVISION= 2
|
2006-01-02 23:02:11 +00:00
|
|
|
CATEGORIES= devel linux
|
|
|
|
MASTER_SITES= ${MASTER_SITE_LOCAL}
|
|
|
|
MASTER_SITE_SUBDIR= marcel
|
|
|
|
|
2006-06-29 19:51:57 +00:00
|
|
|
MAINTAINER= freebsd-emulation@FreeBSD.org
|
2006-01-02 23:02:11 +00:00
|
|
|
COMMENT= Linux-compatability ktrace.out processor
|
|
|
|
|
2006-07-19 20:02:22 +00:00
|
|
|
BUILD_DEPENDS= ${LINUXBASE}/usr/bin/gcc:${PORTSDIR}/emulators/linux_base-gentoo-stage3
|
2006-01-02 23:02:11 +00:00
|
|
|
|
2006-07-19 20:02:22 +00:00
|
|
|
ONLY_FOR_ARCHS= i386 amd64
|
|
|
|
MAN1= linux_kdump.1.gz
|
|
|
|
NOMANCOMPRESS= true
|
2006-01-02 23:02:11 +00:00
|
|
|
PLIST_FILES= bin/linux_kdump
|
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2006-02-13 17:26:02 +00:00
|
|
|
.if ${OSVERSION} < 500000
|
|
|
|
USE_GCC= 3.4+
|
|
|
|
.endif
|
|
|
|
|
2006-01-02 23:02:11 +00:00
|
|
|
.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
|
|
|
|
|
|
|
|
.if !exists(${SRCDIR}/sys/i386/linux/syscalls.master)
|
2006-07-19 20:02:22 +00:00
|
|
|
IGNORE= requires kernel source present in ${SRCDIR}/sys
|
2006-01-02 23:02:11 +00:00
|
|
|
.endif
|
|
|
|
.if !exists(${SRCDIR}/usr.bin/ktrace/subr.c)
|
2006-07-19 20:02:22 +00:00
|
|
|
IGNORE= requires ktrace source present in ${SRCDIR}/usr.bin/ktrace
|
|
|
|
.endif
|
|
|
|
.if exists(${LINUXBASE}/etc/fedora-release)
|
|
|
|
IGNORE= does not build with the default linux base, use the package instead
|
2006-01-02 23:02:11 +00:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|