Hi,

I noticed emacs isn't being compiled with cairo support because '--with-cairo'
is missing, even though cairo is already listed as a dependency.

Adding it fixes rendering issues with inconsolata-new.

OK to commit?


--- editors/emacs/Makefile
+++ editors/emacs/Makefile
@@ -4,7 +4,7 @@ COMMENT=                GNU editor: extensible, customizable, 
self-d

 VERSION=               27.2
 DISTNAME=              emacs-${VERSION}
-REVISION=              0
+REVISION=              1

CATEGORIES=            editors

@@ -78,7 +78,8 @@ WANTLIB += gdk_pixbuf-2.0 gif gio-2.0 glib-2.0 gobject
 WANTLIB += intl jpeg lcms2 m17n-core m17n-flt otf png rsvg-2 tiff
 WANTLIB += xcb
 . elif ${FLAVOR} `= "gtk2"
-CONFIGURE_ARGS+'       --with-x-toolkit=gtk2
+CONFIGURE_ARGS+=       --with-x-toolkit=gtk2 \
+ --with-cairo
  LIB_DEPENDS+=          x11/gtk+2
  WANTLIB += ICE SM X11 X11-xcb Xcomposite Xcursor Xdamage Xext
  WANTLIB += Xfixes Xft Xi Xinerama Xpm Xrandr Xrender atk-1.0 cairo
@@ -87,7 +88,8 @@ WANTLIB += gif gio-2.0 glib-2.0 gobject-2.0 gtk-x11-2.
 WANTLIB += intl jpeg lcms2 m17n-core m17n-flt otf pango-1.0 pangocairo-1.0
 WANTLIB += pangoft2-1.0 png rsvg-2 tiff xcb
 . elif ${FLAVOR} `= "gtk3"
-CONFIGURE_ARGS+'       --with-x-toolkit=gtk3
+CONFIGURE_ARGS+=       --with-x-toolkit=gtk3 \
+ --with-cairo
  LIB_DEPENDS+=          x11/gtk+3
  WANTLIB += ICE SM X11 X11-xcb Xext Xfixes Xft Xinerama Xpm Xrandr
  WANTLIB += Xrender atk-1.0 cairo cairo-gobject dbus-1 fontconfig


--
Renato

Reply via email to