pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/x11/xterm Add a freetype option for whoever wants it.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/18a1aa107a67
branches:  trunk
changeset: 506265:18a1aa107a67
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Fri Jan 13 17:54:44 2006 +0000

description:
Add a freetype option for whoever wants it.

diffstat:

 x11/xterm/options.mk |  11 +++++++++--
 1 files changed, 9 insertions(+), 2 deletions(-)

diffs (24 lines):

diff -r 44c5f56cd30d -r 18a1aa107a67 x11/xterm/options.mk
--- a/x11/xterm/options.mk      Fri Jan 13 17:54:27 2006 +0000
+++ b/x11/xterm/options.mk      Fri Jan 13 17:54:44 2006 +0000
@@ -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 @@
 .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
+



Home | Main Index | Thread Index | Old Index