aboutsummaryrefslogtreecommitdiffstats
path: root/devel/linux_kdump
diff options
context:
space:
mode:
authorkan <kan@FreeBSD.org>2006-02-14 01:26:02 +0800
committerkan <kan@FreeBSD.org>2006-02-14 01:26:02 +0800
commit88830be463ede24fbb05aee026c8146f9fe1c5c5 (patch)
tree82f30aca18b491540db1619789c49cc7277606e4 /devel/linux_kdump
parent55edf871b8982c6ddb0a882c854d90ef729d0247 (diff)
downloadfreebsd-ports-gnome-88830be463ede24fbb05aee026c8146f9fe1c5c5.tar.gz
freebsd-ports-gnome-88830be463ede24fbb05aee026c8146f9fe1c5c5.tar.zst
freebsd-ports-gnome-88830be463ede24fbb05aee026c8146f9fe1c5c5.zip
Unbreak compiles on FreeBSD 4.x. Newer Linux headers (gconv.h) contain
constructs not supported by GCC 2.95.x, so just use newer compiler to build linux_kdump from now on.
Diffstat (limited to 'devel/linux_kdump')
-rw-r--r--devel/linux_kdump/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/devel/linux_kdump/Makefile b/devel/linux_kdump/Makefile
index 46434fd2255f..0f2825b69b71 100644
--- a/devel/linux_kdump/Makefile
+++ b/devel/linux_kdump/Makefile
@@ -23,6 +23,10 @@ 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::