summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/syslog-ng/syslog-ng.inc
diff options
context:
space:
mode:
Diffstat (limited to 'meta-oe/recipes-support/syslog-ng/syslog-ng.inc')
-rw-r--r--meta-oe/recipes-support/syslog-ng/syslog-ng.inc11
1 files changed, 10 insertions, 1 deletions
diff --git a/meta-oe/recipes-support/syslog-ng/syslog-ng.inc b/meta-oe/recipes-support/syslog-ng/syslog-ng.inc
index 21d1748777..a5e1bfe489 100644
--- a/meta-oe/recipes-support/syslog-ng/syslog-ng.inc
+++ b/meta-oe/recipes-support/syslog-ng/syslog-ng.inc
@@ -22,7 +22,7 @@ SRC_URI = "http://www.balabit.com/downloads/files/syslog-ng/sources/${PV}/source
22 file://configure.ac-add-option-enable-thread-tls-to-manage-.patch \ 22 file://configure.ac-add-option-enable-thread-tls-to-manage-.patch \
23" 23"
24 24
25inherit autotools systemd pkgconfig update-rc.d 25inherit autotools gettext systemd pkgconfig update-rc.d
26 26
27EXTRA_OECONF = " \ 27EXTRA_OECONF = " \
28 --enable-dynamic-linking \ 28 --enable-dynamic-linking \
@@ -55,6 +55,15 @@ PACKAGECONFIG[json] = "--enable-json,--disable-json,json-c,"
55PACKAGECONFIG[tcp-wrapper] = "--enable-tcp-wrapper,--disable-tcp-wrapper,tcp-wrappers," 55PACKAGECONFIG[tcp-wrapper] = "--enable-tcp-wrapper,--disable-tcp-wrapper,tcp-wrappers,"
56PACKAGECONFIG[geoip] = "--enable-geoip,--disable-geoip,geoip," 56PACKAGECONFIG[geoip] = "--enable-geoip,--disable-geoip,geoip,"
57 57
58do_configure_prepend() {
59 olddir=$(pwd)
60 cd ${AUTOTOOLS_SCRIPT_PATH}
61
62 ACLOCAL="$ACLOCAL" autoreconf -Wcross --verbose --install --force ${EXTRA_AUTORECONF} -I ${S}/m4 ${ACLOCALEXTRAPATH} || die "extra autoreconf execution failed."
63
64 cd $olddir
65}
66
58do_install_prepend() { 67do_install_prepend() {
59 sed -i -e 's,@SBINDIR@,${sbindir},g' ${S}/contrib/systemd/*.service 68 sed -i -e 's,@SBINDIR@,${sbindir},g' ${S}/contrib/systemd/*.service
60 sed -i -e 's,@LOCALSTATEDIR@,${localstatedir},g' ${S}/contrib/systemd/*.service 69 sed -i -e 's,@LOCALSTATEDIR@,${localstatedir},g' ${S}/contrib/systemd/*.service