summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorGustavo Sverzut Barbieri <barbieri@profusion.mobi>2010-09-20 19:07:09 -0300
committerLennart Poettering <lennart@poettering.net>2010-09-21 00:43:16 +0200
commit9841e8e3d305e6f4173c9aedbe8d57adfe10d145 (patch)
treed5d99a2573101f84e609caf15bbe00d4eb6d3053 /Makefile.am
parent3e21c85da365f66582d77eb0a81016c7f43c7762 (diff)
gentoo: vconsole-setup support.
This patch is a bit bigger than expected since Gentoo being non-standard in some places. 1. it is installing binaries at /usr/bin instead of /bin. 2. it is using CamelCase names for consolefonts. 3. /etc/rc.conf:unicode=(yes|no) just forbids loadkeys and setfont "-u" options, but do not disable the actual kernel default_utf8 from vt module.
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am12
1 files changed, 12 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index aa4798d83e..3ab79ba875 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -54,6 +54,18 @@ AM_CPPFLAGS = \
-DRANDOM_SEED=\"$(localstatedir)/lib/random-seed\" \
-I $(top_srcdir)/src
+if TARGET_GENTOO
+AM_CPPFLAGS += \
+ -DKBD_LOADKEYS=\"/usr/bin/loadkeys\" \
+ -DKBD_SETFONT=\"/usr/bin/setfont\" \
+ -DDEFAULT_FONT=\"LatArCyrHeb-16\"
+else
+AM_CPPFLAGS += \
+ -DKBD_LOADKEYS=\"/bin/loadkeys\" \
+ -DKBD_SETFONT=\"/bin/setfont\" \
+ -DDEFAULT_FONT=\"latarcyrheb-sun16\"
+endif
+
rootbin_PROGRAMS = \
systemd \
systemctl \