[patch] ntp no longer compiles using WITHOUT_GNU_SUPPORT
Ben Kelly
bkelly at vadev.org
Tue Sep 2 13:26:03 UTC 2008
Hello all,
It looks like the following commit broke the WITHOUT_GNU_SUPPORT knob
when compiling ntp:
http://svn.freebsd.org/viewvc/base?view=revision&revision=182008
The various readline symbols are conditionally set in usr.sbin/ntp/
ntpdc/Makefile, but this commit now hardcodes them in the usr.sbin/ntp/
config.h as well. I assume this was not intended.
The attached patch fixed the issue for me.
Anyway, just FYI. Thanks.
- Ben
Index: usr.sbin/ntp/config.h
===================================================================
--- usr.sbin/ntp/config.h (revision 91)
+++ usr.sbin/ntp/config.h (working copy)
@@ -439,7 +439,7 @@
/* #undef HAVE_LIBPOSIX4 */
/* Define to 1 if you have the `readline' library (-lreadline). */
-#define HAVE_LIBREADLINE 1
+/* #undef HAVE_LIBREADLINE */
/* Define to 1 if you have the `rt' library (-lrt). */
#define HAVE_LIBRT 1
@@ -570,10 +570,10 @@
/* #undef HAVE_PUTUTXLINE */
/* Define to 1 if you have the <readline/history.h> header file. */
-#define HAVE_READLINE_HISTORY_H 1
+/* #undef HAVE_READLINE_HISTORY_H */
/* Define to 1 if you have the <readline/readline.h> header file. */
-#define HAVE_READLINE_READLINE_H 1
+/* #undef HAVE_READLINE_READLINE_H */
/* Define to 1 if you have the `readlink' function. */
#define HAVE_READLINK 1
More information about the freebsd-current
mailing list