summaryrefslogtreecommitdiffstats
path: root/usr.sbin/sysinstall
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2006-03-01 16:37:09 +0000
committerjhb <jhb@FreeBSD.org>2006-03-01 16:37:09 +0000
commit9496d6d3d4c253de0ea4d2774a143f599d0f3d28 (patch)
tree7d72dfb9d181610a286158d9bfcb6c7a58f5277c /usr.sbin/sysinstall
parent89ae2aab6296b7e59708e5d03fbcef23bcc45775 (diff)
downloadFreeBSD-src-9496d6d3d4c253de0ea4d2774a143f599d0f3d28.zip
FreeBSD-src-9496d6d3d4c253de0ea4d2774a143f599d0f3d28.tar.gz
Wrap keymap menu helper functions in #ifdef WITH_SYSCONS to unbreak the
build on archs that don't include syscons support in sysinstall. Reported by: sparc64 tinderbox
Diffstat (limited to 'usr.sbin/sysinstall')
-rw-r--r--usr.sbin/sysinstall/keymap.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/usr.sbin/sysinstall/keymap.c b/usr.sbin/sysinstall/keymap.c
index da08707..f6dcfd6 100644
--- a/usr.sbin/sysinstall/keymap.c
+++ b/usr.sbin/sysinstall/keymap.c
@@ -50,6 +50,7 @@ struct keymapInfo {
* the language name only.
*/
+#ifdef WITH_SYSCONS
static int
keymapSetDefault(const char *prefix)
{
@@ -113,6 +114,7 @@ keymapMenuSelect(dialogMenuItem *self)
return dmenuOpenSimple(&MenuSysconsKeymap, FALSE) ? DITEM_SUCCESS :
DITEM_FAILURE;
}
+#endif
/*
* Return values:
OpenPOWER on IntegriCloud