diff --git a/srcpkgs/libGL/template b/srcpkgs/libGL/template index c23d46760bd..22fb0be7770 100644 --- a/srcpkgs/libGL/template +++ b/srcpkgs/libGL/template @@ -16,11 +16,13 @@ distfiles="https://mesa.freedesktop.org/archive/mesa-${version}.tar.xz" checksum=3123448f770eae58bc73e15480e78909defb892f10ab777e9116c9b218094943 hostmakedepends=" - automake libtool flex pkg-config llvm python-Mako libxml2-python $(vopt_if wayland wayland-devel)" + automake libtool flex pkg-config llvm python-Mako libxml2-python + $(vopt_if wayland 'wayland-protocols wayland-devel')" makedepends=" glproto dri2proto dri3proto presentproto libXext-devel libXxf86vm-devel eudev-libudev-devel libdrm-devel expat-devel talloc-devel libvdpau-devel libva-devel - libXdamage-devel libXvMC-devel libxshmfence-devel $(vopt_if wayland 'wayland-protocols wayland-devel') + libXdamage-devel libXvMC-devel libxshmfence-devel + $(vopt_if wayland 'wayland-protocols wayland-devel') elfutils-devel ncurses-devel zlib-devel libffi-devel" conf_files="/etc/drirc"