summaryrefslogtreecommitdiff
path: root/pcr/sysvinit/0001-do-not-build-sulogin-on-archlinux-it-is-provided-by-.patch
blob: 4a7392f1e3f2dd3843a53f90fbb1bf34919ffae7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
From 251ed68a591cd869b4d5d15bcb7da1f24a865550 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Mattias=20Andr=C3=A9e?= <maandree@operamail.com>
Date: Tue, 5 Nov 2013 08:15:59 +0100
Subject: [PATCH] do not build sulogin on archlinux, it is provided by
 util-linux
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Signed-off-by: Mattias Andrée <maandree@operamail.com>
---
 src/Makefile | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/src/Makefile b/src/Makefile
index 9e80533..1998d39 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -37,6 +37,13 @@ MAN1	+= utmpdump.1 wall.1
 MAN8	+= sulogin.8 bootlogd.8
 endif
 
+ifeq ($(DISTRO),archlinux)
+SBIN	+= bootlogd
+USRBIN	+= utmpdump wall
+MAN1	+= utmpdump.1 wall.1
+MAN8	+= bootlogd.8
+endif
+
 ifeq ($(DISTRO),Debian)
 CPPFLAGS+= -DACCTON_OFF
 SBIN	+= sulogin bootlogd
-- 
1.8.4.2