diff -urN systemd-196.orig/Makefile.am systemd-196/Makefile.am --- systemd-196.orig/Makefile.am 2012-12-31 18:40:20.785401514 +0100 +++ systemd-196/Makefile.am 2012-12-31 18:50:40.757512202 +0100 @@ -197,12 +197,18 @@ -DKBD_LOADKEYS=\"/bin/loadkeys\" \ -DKBD_SETFONT=\"/bin/setfont\" else +if TARGET_LUNAR +AM_CPPFLAGS += \ + -DKBD_LOADKEYS=\"/usr/bin/loadkeys\" \ + -DKBD_SETFONT=\"/usr/bin/setfont\" +else AM_CPPFLAGS += \ -DKBD_LOADKEYS=\"/bin/loadkeys\" \ -DKBD_SETFONT=\"/bin/setfont\" endif endif endif +endif endif endif endif diff -urN systemd-196.orig/configure.ac systemd-196/configure.ac --- systemd-196.orig/configure.ac 2012-12-31 18:40:21.813401804 +0100 +++ systemd-196/configure.ac 2012-12-31 19:04:09.621657112 +0100 @@ -723,6 +723,12 @@ AC_DEFINE(TARGET_MAGEIA, [], [Target is Mageia]) M4_DEFINES=-DTARGET_MAGEIA=1 ;; + lunar) + SYSTEM_SYSVINIT_PATH= + SYSTEM_SYSVRCND_PATH= + AC_DEFINE(TARGET_LUNAR, [], [Target is Lunar-Linux]) + M4_DEFINES=-DTARGET_LUNAR=1 + ;; other) ;; *) @@ -775,6 +781,7 @@ AM_CONDITIONAL(TARGET_MANDRIVA, test x"$with_distro" = xmandriva) AM_CONDITIONAL(TARGET_ANGSTROM, test x"$with_distro" = xangstrom) AM_CONDITIONAL(TARGET_MAGEIA, test x"$with_distro" = xmageia) +AM_CONDITIONAL(TARGET_LUNAR, test x"$with_distro" = xlunar) AM_CONDITIONAL(HAVE_SYSV_COMPAT, test "$SYSTEM_SYSV_COMPAT" = "yes")