acpid/acpid-1.0.3-makefile.patch

21 lines
605 B
Diff
Raw Normal View History

diff -u acpid-1.0.3/Makefile acpid-1.0.3/Makefile
--- acpid-1.0.3/Makefile 2004-08-09 01:27:12.415763800 +0200
+++ acpid-1.0.3/Makefile 2004-08-09 01:29:42.110006816 +0200
@@ -21,7 +21,7 @@
MAN8 = acpid.8 acpi_listen.8
MAN8GZ = $(MAN8:.8=.8.gz)
-CFLAGS = -Wall -Werror -g $(DEFS)
+CFLAGS = -Wall -Werror -g $(DEFS) $(RPM_OPT_FLAGS)
DEFS = -DVERSION="\"$(VERSION)\""
all: $(PROGS)
@@ -36,6 +36,7 @@
install: $(PROGS) man
mkdir -p $(SBINDIR)
install -m 750 acpid $(SBINDIR)
+ mkdir -p $(BINDIR)
install -m 755 acpi_listen $(BINDIR)
mkdir -p $(MAN8DIR)
install -m 644 $(MAN8GZ) $(MAN8DIR)