Skip to content

Commit

Permalink
gnome-base/gdm: fix quoting for pkg-config
Browse files Browse the repository at this point in the history
Bug: https://bugs.gentoo.org/756238
Signed-off-by: Mike Gilbert <[email protected]>
  • Loading branch information
floppym committed Dec 14, 2020
1 parent aa25bd3 commit 46b2d4e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
7 changes: 4 additions & 3 deletions gnome-base/gdm/gdm-3.36.3.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ EAPI=6
GNOME2_LA_PUNT="yes"
GNOME2_EAUTORECONF="yes"

inherit eutils gnome2 pam readme.gentoo-r1 systemd udev user
inherit eutils gnome2 pam readme.gentoo-r1 systemd toolchain-funcs udev user

DESCRIPTION="GNOME Display Manager for managing graphical display servers and user logins"
HOMEPAGE="https://wiki.gnome.org/Projects/GDM"
Expand Down Expand Up @@ -187,10 +187,11 @@ src_configure() {
)

if use elogind; then
local pkgconfig="$(tc-getPKG_CONFIG)"
myconf+=(
--with-initial-vt=7 # TODO: Revisit together with startDM.sh and other xinit talks; also ignores plymouth possibility
SYSTEMD_CFLAGS=`pkg-config --cflags "libelogind" 2>/dev/null`
SYSTEMD_LIBS=`pkg-config --libs "libelogind" 2>/dev/null`
SYSTEMD_CFLAGS="$(${pkgconfig} --cflags "libelogind")"
SYSTEMD_LIBS="$(${pkgconfig} --libs "libelogind")"
)
fi

Expand Down
7 changes: 4 additions & 3 deletions gnome-base/gdm/gdm-3.36.4.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ EAPI=6
GNOME2_LA_PUNT="yes"
GNOME2_EAUTORECONF="yes"

inherit eutils gnome2 pam readme.gentoo-r1 systemd udev user
inherit eutils gnome2 pam readme.gentoo-r1 systemd toolchain-funcs udev user

DESCRIPTION="GNOME Display Manager for managing graphical display servers and user logins"
HOMEPAGE="https://wiki.gnome.org/Projects/GDM"
Expand Down Expand Up @@ -187,10 +187,11 @@ src_configure() {
)

if use elogind; then
local pkgconfig="$(tc-getPKG_CONFIG)"
myconf+=(
--with-initial-vt=7 # TODO: Revisit together with startDM.sh and other xinit talks; also ignores plymouth possibility
SYSTEMD_CFLAGS=`pkg-config --cflags "libelogind" 2>/dev/null`
SYSTEMD_LIBS=`pkg-config --libs "libelogind" 2>/dev/null`
SYSTEMD_CFLAGS="$(${pkgconfig} --cflags "libelogind")"
SYSTEMD_LIBS="$(${pkgconfig} --libs "libelogind")"
)
fi

Expand Down

0 comments on commit 46b2d4e

Please sign in to comment.