aboutsummaryrefslogtreecommitdiff
path: root/devel/linux_kdump
diff options
context:
space:
mode:
authorMarcel Moolenaar <marcel@FreeBSD.org>2004-02-14 07:56:42 +0000
committerMarcel Moolenaar <marcel@FreeBSD.org>2004-02-14 07:56:42 +0000
commitf97fb3d8f7255a90c3aa4c3fdf831126b41bb558 (patch)
treec46c118d0893075b28a86460b24ca134968057c9 /devel/linux_kdump
parent3a759003cbdef89c5c38f42f95d478129c8e9e81 (diff)
downloadports-f97fb3d8f7255a90c3aa4c3fdf831126b41bb558.tar.gz
ports-f97fb3d8f7255a90c3aa4c3fdf831126b41bb558.zip
Notes
Diffstat (limited to 'devel/linux_kdump')
-rw-r--r--devel/linux_kdump/Makefile19
-rw-r--r--devel/linux_kdump/distinfo3
-rw-r--r--devel/linux_kdump/files/patch-aa13
3 files changed, 15 insertions, 20 deletions
diff --git a/devel/linux_kdump/Makefile b/devel/linux_kdump/Makefile
index ef13a120b776..e3b8690da129 100644
--- a/devel/linux_kdump/Makefile
+++ b/devel/linux_kdump/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= linux_kdump
-PORTVERSION= 1.4
+PORTVERSION= 1.5
CATEGORIES= devel linux
MASTER_SITES= ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= marcel
@@ -14,7 +14,7 @@ MASTER_SITE_SUBDIR= marcel
MAINTAINER= marcel@FreeBSD.org
COMMENT= Linux-compatability ktrace.out processor
-BUILD_DEPENDS= /compat/linux/usr/bin/gcc:${PORTSDIR}/devel/linux_devtools-6
+BUILD_DEPENDS= /compat/linux/usr/bin/gcc:${PORTSDIR}/devel/linux_devtools-7
ONLY_FOR_ARCHS= i386
MAN1= linux_kdump.1
@@ -22,11 +22,18 @@ PLIST_FILES= bin/linux_kdump
.include <bsd.port.pre.mk>
-.if !exists(/sys/i386/linux/syscalls.master)
-IGNORE= "requires kernel source present in /sys"
+.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(/usr/src/usr.bin/ktrace/subr.c)
-IGNORE= "requires ktrace source present in /usr/src/usr.bin/ktrace"
+
+.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
.include <bsd.port.post.mk>
diff --git a/devel/linux_kdump/distinfo b/devel/linux_kdump/distinfo
index 33d1b4eafc42..bf77137d333c 100644
--- a/devel/linux_kdump/distinfo
+++ b/devel/linux_kdump/distinfo
@@ -1 +1,2 @@
-MD5 (linux_kdump-1.4.tar.gz) = 5fd27d1e231c1b01e011ace7eb193a51
+MD5 (linux_kdump-1.5.tar.gz) = 9af097e1a868c4db05f9a50367a6a91d
+SIZE (linux_kdump-1.5.tar.gz) = 6166
diff --git a/devel/linux_kdump/files/patch-aa b/devel/linux_kdump/files/patch-aa
deleted file mode 100644
index a22bcd75dcff..000000000000
--- a/devel/linux_kdump/files/patch-aa
+++ /dev/null
@@ -1,13 +0,0 @@
---- kdump.c.orig Sat Oct 9 19:57:45 1999
-+++ kdump.c Sun Jan 9 11:19:14 2000
-@@ -46,8 +46,10 @@
- #endif /* not lint */
-
- #define KERNEL
-+#define _KERNEL
- extern int errno;
- #include <sys/errno.h>
-+#undef _KERNEL
- #undef KERNEL
- #include <sys/param.h>
- #include <sys/errno.h>