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
|
2009-12-29 10:25:55 +00:00
|
|
|
NO_MANCOMPRESS= yes
|
2006-07-19 20:02:22 +00:00
|
|
|
MAN1= linux_kdump.1.gz
|
2006-01-02 23:02:11 +00:00
|
|
|
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
|
|
|
|
|
|
|
|
.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>
|