summaryrefslogtreecommitdiff
path: root/editors/xemacs-current/options.mk
diff options
context:
space:
mode:
Diffstat (limited to 'editors/xemacs-current/options.mk')
-rw-r--r--editors/xemacs-current/options.mk11
1 files changed, 9 insertions, 2 deletions
diff --git a/editors/xemacs-current/options.mk b/editors/xemacs-current/options.mk
index b0bc4cb72da..f665bf78ea1 100644
--- a/editors/xemacs-current/options.mk
+++ b/editors/xemacs-current/options.mk
@@ -1,7 +1,7 @@
-# $NetBSD: options.mk,v 1.9 2007/11/12 01:48:48 uebayasi Exp $
+# $NetBSD: options.mk,v 1.10 2007/11/13 04:10:09 dan Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.xemacs
-PKG_SUPPORTED_OPTIONS= esound ldap xface canna debug x11
+PKG_SUPPORTED_OPTIONS= esound ldap xface canna debug x11 xft
PKG_OPTIONS_OPTIONAL_GROUPS= toolkit
PKG_OPTIONS_GROUP.toolkit= gtk motif xaw
PKG_SUGGESTED_OPTIONS= x11 xaw
@@ -50,6 +50,13 @@ CONFIGURE_ARGS+= --enable-debug=yes --with-debug
. include "../../graphics/png/buildlink3.mk"
. include "../../graphics/tiff/buildlink3.mk"
. include "../../x11/xbitmaps/buildlink3.mk"
+. if !empty(PKG_OPTIONS:Mxft)
+. include "../../fonts/fontconfig/buildlink3.mk"
+. include "../../graphics/freetype2/buildlink3.mk"
+. include "../../x11/libXft/buildlink3.mk"
+. include "../../x11/libXrender/buildlink3.mk"
+CONFIGURE_ARGS+= --with-xft=emacs,tabs,menubars,gauges
+. endif
.else
CONFIGURE_ARGS+= --without-x11
CONFIGURE_ARGS+= --without-jpeg