summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-apps/sysvinit/files/2.86-gentoo.patch')
-rw-r--r--sys-apps/sysvinit/files/2.86-gentoo.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/sys-apps/sysvinit/files/2.86-gentoo.patch b/sys-apps/sysvinit/files/2.86-gentoo.patch
new file mode 100644
index 000000000000..c3322a8e2e00
--- /dev/null
+++ b/sys-apps/sysvinit/files/2.86-gentoo.patch
@@ -0,0 +1,25 @@
+--- src/Makefile.orig 2004-12-21 22:08:42.607088800 -0500
++++ src/Makefile 2004-12-21 22:12:56.409504968 -0500
+@@ -10,5 +10,3 @@
+
+-CC = gcc
+-CFLAGS = -Wall -O2 -fomit-frame-pointer -D_GNU_SOURCE
+-LDFLAGS = -s
++CFLAGS += -Wall -D_GNU_SOURCE
+ STATIC =
+@@ -33,2 +31,9 @@
+
++ifeq ($(DISTRO),Gentoo)
++SBIN += sulogin bootlogd
++USRBIN += utmpdump wall
++MAN1 += wall.1
++MAN8 += sulogin.8 bootlogd.8
++endif
++
+ ifeq ($(DISTRO),Debian)
+@@ -112,2 +117,5 @@
+ install:
++ $(INSTALL) -d $(ROOT)/bin $(ROOT)/sbin $(ROOT)/usr/bin \
++ $(ROOT)/usr/include $(ROOT)/$(MANDIR)/man1 $(ROOT)/$(MANDIR)/man5 \
++ $(ROOT)/$(MANDIR)/man8
+ for i in $(BIN); do \