Configuration with --without-systemd causes the SYSTEMD_DIR to have a
value of "no"

cups configure test for, if SYSTEMD_DIR is empty to decide if the init
scripts need to be installed. A value of "no" results in that no init
scripts is installed.

Removing --without-systemd and just keep it empty result in an empty
SYSTEMD_DIR variable and the sysvinit scripts is installed as expected.
Though the cups configure script could be improved to work consistent
with "--without-*" options.

Signed-off-by: Claus Stovgaard <claus.stovga...@gmail.com>
---
 meta/recipes-extended/cups/cups.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-extended/cups/cups.inc 
b/meta/recipes-extended/cups/cups.inc
index d77758fd3f..865c14851c 100644
--- a/meta/recipes-extended/cups/cups.inc
+++ b/meta/recipes-extended/cups/cups.inc
@@ -46,7 +46,7 @@ PACKAGECONFIG[avahi] = 
"--with-dnssd=avahi,--with-dnssd=no,avahi"
 PACKAGECONFIG[acl] = "--enable-acl,--disable-acl,acl"
 PACKAGECONFIG[gnutls] = "--with-tls=gnutls,--with-tls=no,gnutls"
 PACKAGECONFIG[pam] = "--enable-pam --with-pam-module=unix, --disable-pam, 
libpam"
-PACKAGECONFIG[systemd] = 
"--with-systemd=${systemd_system_unitdir},--without-systemd,systemd"
+PACKAGECONFIG[systemd] = "--with-systemd=${systemd_system_unitdir},,systemd"
 PACKAGECONFIG[xinetd] = 
"--with-xinetd=${sysconfdir}/xinetd.d,--without-xinetd,xinetd"
 PACKAGECONFIG[webif] = "--enable-webif,--disable-webif"
 
-- 
2.39.3

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#183916): 
https://lists.openembedded.org/g/openembedded-core/message/183916
Mute This Topic: https://lists.openembedded.org/mt/99981768/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to