diff --git a/srcpkgs/cairo/template b/srcpkgs/cairo/template index 8524268083e..35d9ce50d2c 100644 --- a/srcpkgs/cairo/template +++ b/srcpkgs/cairo/template @@ -3,8 +3,9 @@ pkgname=cairo version=1.12.16 revision=7 build_style=gnu-configure -configure_args="--disable-static --disable-lto --enable-tee --enable-egl - $(vopt_enable opengl gl) $(vopt_enable gles2 glesv2)" +configure_args="--disable-static --disable-lto --enable-tee + $(vopt_if opengl '--enable-gl --enable-egl') + $(vopt_if gles2 '--enable-egl --enable-glesv2')" short_desc="Vector graphics library with cross-device output support" maintainer="Juan RP " license="LGPL-2.1, MPL-1.1"