acpid/acpid-1.0.3-makefile.patch
cvsdist 214c238ed9 auto-import changelog data from acpid-1.0.3-2.src.rpm
Mon Aug 09 2004 Miloslav Trmac <mitr@redhat.com> - 1.0.3-2
- Update to 1.0.3 (fixes #128834)
- s/Copyright/License/
- Add logrotate config file (#110677, from Michal Jaegermann)
- Don't verify contents of /var/log/acpid (#125862)
- Use $RPM_OPT_FLAGS
- Fix and cleanup acpid-1.0.1-pm1.patch
- Add condrestart to %postun
2004-09-09 02:53:36 +00:00

21 lines
605 B
Diff

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)