app-admin/packagekit-base: Revision bump (bug #622104)
authorEttore Di Giacinto <mudler@gentoo.org>
Mon, 26 Jun 2017 21:07:51 +0000 (23:07 +0200)
committerEttore Di Giacinto <mudler@gentoo.org>
Mon, 26 Jun 2017 21:17:40 +0000 (23:17 +0200)
Temporary workaround to fix elogind support patch.

Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=622104
Package-Manager: Portage-2.3.5, Repoman-2.3.2

app-admin/packagekit-base/files/packagekit-base-elogind-support.patch
app-admin/packagekit-base/packagekit-base-1.1.5-r2.ebuild [moved from app-admin/packagekit-base/packagekit-base-1.1.5-r1.ebuild with 100% similarity]

index bed2a0de449473cd15e998ca155d2cea104266f2..df7675761d4976a628733f94401ad46543676ae2 100644 (file)
@@ -21,7 +21,7 @@
        AC_SUBST([systemdsystemunitdir], [$has_systemdsystemunitdir])
  fi
  AM_CONDITIONAL(HAVE_SYSTEMD, [test -n "$has_systemdsystemunitdir"])
-@@ -267,6 +266,22 @@
+@@ -267,6 +266,24 @@
  AM_CONDITIONAL(ENABLE_OFFLINE_UPDATE, [test x$enable_systemd = xyes -a x$enable_offline_update = xyes])
  
  dnl ---------------------------------------------------------------------------
 +            enable_elogind=$enableval,enable_elogind=no)
 +if test x$enable_elogind = xyes; then
 +      PKG_CHECK_MODULES(ELOGIND, [libelogind >= 229.4], [have_elogind=yes], [have_elogind=no])
++else
++      have_elogind=no
 +fi
 +
 +dnl ---------------------------------------------------------------------------
 +dnl --- Is systemd/sd-login.h, either from systemd or elogind, available?
 +dnl ---------------------------------------------------------------------------
-+if test "x$have_systemd" != "xno" -o "x$have_elogind" != "xno" ; then
++if test -n "$has_systemdsystemunitdir" -o "x$have_elogind" != "xno" ; then
 +              AC_DEFINE(HAVE_SYSTEMD_SD_LOGIN_H,1,[Build systemd-login code])
 +fi
 +