changeset 2604:22858d5a5a7f

[xemacs-hg @ 2005-02-22 11:04:57 by stephent] FreeBSD 6 deprecates -lxpg4 <87mztw6elp.fsf@tleepslib.sk.tsukuba.ac.jp>
author stephent
date Tue, 22 Feb 2005 11:05:06 +0000
parents 43ba9e13ee82
children 262b5c1d8c18
files src/ChangeLog src/s/freebsd.h
diffstat 2 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Tue Feb 22 08:05:58 2005 +0000
+++ b/src/ChangeLog	Tue Feb 22 11:05:06 2005 +0000
@@ -1,3 +1,7 @@
+2005-01-06  Andrey Slusar  <anrays@gmail.com>
+
+	* s/freebsd.h: fix build on the FreeBSD 6
+
 2005-02-21  Stephen J. Turnbull  <stephen@xemacs.org>
 
 	* emacs.c (xemacs-release-date): New version info variable.
--- a/src/s/freebsd.h	Tue Feb 22 08:05:58 2005 +0000
+++ b/src/s/freebsd.h	Tue Feb 22 11:05:06 2005 +0000
@@ -29,7 +29,7 @@
 #ifndef __FreeBSD_version
 #include <osreldate.h>
 #endif
-#if __FreeBSD_version >= 199701
+#if __FreeBSD_version >= 199701 && __FreeBSD_version < 600006
 #define LIBS_SYSTEM "-lutil -lxpg4"
 #else
 #define LIBS_SYSTEM "-lutil"