You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/app-forensics/aide/files/aide-0.13.1-gentoo.patch

37 lines
1.2 KiB

diff -Naur aide-0.13.1.orig/Makefile.am aide-0.13.1/Makefile.am
--- aide-0.13.1.orig/Makefile.am 2006-10-11 03:39:01.000000000 +0900
+++ aide-0.13.1/Makefile.am 2007-09-27 01:35:39.000000000 +0900
@@ -33,7 +33,7 @@
src/aide -c doc/aide.conf -V20
update-db: all
- src/aide -B "database_out=file://$(top_srcdir)/doc/aide.db" -c doc/aide.conf -i
+ src/aide -B "database_out=file://$(abs_top_srcdir)/doc/aide.db" -c doc/aide.conf -i
dist-hook: configure
mkdir $(distdir)/include
diff -Naur aide-0.13.1.orig/doc/aide.conf.in aide-0.13.1/doc/aide.conf.in
--- aide-0.13.1.orig/doc/aide.conf.in 2006-11-25 04:53:56.000000000 +0900
+++ aide-0.13.1/doc/aide.conf.in 2007-09-27 01:35:39.000000000 +0900
@@ -19,7 +19,7 @@
# corresponding line.
#
-@@define TOPDIR @top_srcdir@
+@@define TOPDIR @abs_top_srcdir@
@@ifndef TOPDIR
@@define TOPDIR /
diff -Naur aide-0.13.1.orig/src/Makefile.am aide-0.13.1/src/Makefile.am
--- aide-0.13.1.orig/src/Makefile.am 2006-10-28 06:10:38.000000000 +0900
+++ aide-0.13.1/src/Makefile.am 2007-09-27 01:35:39.000000000 +0900
@@ -20,6 +20,8 @@
# This is no longer needed
# SUBDIRS = crypt
+DEFS = -DLOCALEDIR=\"$(localedir)\" @DEFS@
+
bin_PROGRAMS = aide
aide_SOURCES = \