summaryrefslogtreecommitdiff
path: root/x11/xterm
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2006-01-13 17:54:44 +0000
committerjoerg <joerg@pkgsrc.org>2006-01-13 17:54:44 +0000
commit948429970f51775d9d9799e475f88f2f56290060 (patch)
tree003d47ed08af71f565f8ade845cb354fa84ec0fe /x11/xterm
parent4bd7c101dcef69333af29925b328f2c34b95be78 (diff)
downloadpkgsrc-948429970f51775d9d9799e475f88f2f56290060.tar.gz
Add a freetype option for whoever wants it.
Diffstat (limited to 'x11/xterm')
-rw-r--r--x11/xterm/options.mk11
1 files changed, 9 insertions, 2 deletions
diff --git a/x11/xterm/options.mk b/x11/xterm/options.mk
index 97407eab615..e48b59fbd7f 100644
--- a/x11/xterm/options.mk
+++ b/x11/xterm/options.mk
@@ -1,7 +1,7 @@
-# $NetBSD: options.mk,v 1.1 2005/06/04 17:42:32 wiz Exp $
+# $NetBSD: options.mk,v 1.2 2006/01/13 17:54:44 joerg Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.xterm
-PKG_SUPPORTED_OPTIONS= xterm-luit
+PKG_SUPPORTED_OPTIONS= xterm-luit freetype
PKG_OPTIONS_OPTIONAL_GROUPS= color
PKG_OPTIONS_GROUP.color= xterm-88color xterm-256color
PKG_SUGGESTED_OPTIONS= xterm-256color xterm-luit
@@ -19,3 +19,10 @@ CONFIGURE_ARGS+= --enable-256-color
.if !empty(PKG_OPTIONS:Mxterm-luit)
CONFIGURE_ARGS+= --enable-luit
.endif
+
+.if !empty(PKG_OPTIONS:Mfreetype)
+CONFIGURE_ARGS+= --enable-freetype
+
+.include "../../graphics/freetype2/buildlink3.mk"
+.endif
+