1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-18 03:46:03 +00:00
freebsd-ports/devel/linux_kdump/Makefile
Alexander Leidinger 65eb110812 Make this port usable again:
- depend upon gentoo stage 3 linux base (build dependency only!)
 - bail out and suggest to use the package when the default linux base port
   is installed at compile time (build time conflict with gentoo stage 3)
 - patch stuff for the kdump in -current
 - reword the description (this is a FreeBSD native program)
 - portlint
 - someone may want to write a linux replacement for mksubr
2006-07-19 20:02:22 +00:00

49 lines
1.2 KiB
Makefile

# New ports collection makefile for: linux_kdump
# Date created: Nov 26 1997
# Whom: msmith@FreeBSD.org
#
# $FreeBSD$
#
PORTNAME= linux_kdump
PORTVERSION= 1.5
PORTREVISION= 2
CATEGORIES= devel linux
MASTER_SITES= ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= marcel
MAINTAINER= freebsd-emulation@FreeBSD.org
COMMENT= Linux-compatability ktrace.out processor
BUILD_DEPENDS= ${LINUXBASE}/usr/bin/gcc:${PORTSDIR}/emulators/linux_base-gentoo-stage3
ONLY_FOR_ARCHS= i386 amd64
MAN1= linux_kdump.1.gz
NOMANCOMPRESS= true
PLIST_FILES= bin/linux_kdump
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 500000
USE_GCC= 3.4+
.endif
.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)
IGNORE= requires kernel source present in ${SRCDIR}/sys
.endif
.if !exists(${SRCDIR}/usr.bin/ktrace/subr.c)
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
.endif
.include <bsd.port.post.mk>