iwd: use proper patch for installing dbus files and enable wired.
This commit is contained in:
parent
ffbddacef7
commit
3048ac1d0d
2 changed files with 17 additions and 5 deletions
|
@ -1,5 +1,5 @@
|
|||
diff --git Makefile.am Makefile.am
|
||||
index fd8acf3..5dd77c4 100644
|
||||
index 6135524..5efb6f6 100644
|
||||
--- Makefile.am
|
||||
+++ Makefile.am
|
||||
@@ -136,15 +136,15 @@ noinst_PROGRAMS =
|
||||
|
@ -51,4 +51,17 @@ index fd8acf3..5dd77c4 100644
|
|||
endif
|
||||
endif
|
||||
|
||||
diff --git configure.ac configure.ac
|
||||
index ec0619e..13d6de4 100644
|
||||
--- configure.ac
|
||||
+++ configure.ac
|
||||
@@ -188,7 +188,7 @@ AM_CONDITIONAL(SYSTEMD_SERVICE, test "${enable_systemd_service}" != "no")
|
||||
AC_ARG_WITH([dbus-busdir], AC_HELP_STRING([--with-dbus-busdir=DIR],
|
||||
[path to D-Bus bus services directory]),
|
||||
[path_dbus_busdir=${withval}])
|
||||
-if (test "${enable_systemd_service}" != "no" && test -z "${path_dbus_busdir}"); then
|
||||
+if (test -z "${path_dbus_busdir}"); then
|
||||
AC_MSG_CHECKING([D-Bus bus services directory])
|
||||
path_dbus_busdir="`$PKG_CONFIG --variable=system_bus_services_dir dbus-1`"
|
||||
if (test -z "${path_dbus_busdir}"); then
|
||||
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
# Template file for 'iwd'
|
||||
pkgname=iwd
|
||||
version=0.16
|
||||
revision=1
|
||||
revision=2
|
||||
build_style=gnu-configure
|
||||
configure_args="--disable-systemd-service --enable-docs --enable-pie
|
||||
--enable-external-ell ac_cv_func_explicit_bzero=yes"
|
||||
--enable-external-ell ac_cv_func_explicit_bzero=yes
|
||||
--enable-dbus-policy --enable-wired"
|
||||
hostmakedepends="asciidoc pkg-config automake libtool"
|
||||
makedepends="readline-devel dbus-devel ell-devel"
|
||||
depends="dbus"
|
||||
|
@ -29,6 +30,4 @@ pre_configure() {
|
|||
post_install() {
|
||||
vsconf doc/main.conf
|
||||
vsv iwd
|
||||
|
||||
vinstall src/net.connman.iwd.service 644 usr/share/dbus-1/system-services
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue