diff options
author | minskim <minskim> | 2006-07-23 04:59:33 +0000 |
---|---|---|
committer | minskim <minskim> | 2006-07-23 04:59:33 +0000 |
commit | 76e60e2a827351615a5251115ebef5d8e029947c (patch) | |
tree | dafedb710d3c8d29ee1c7d1eb457c2beeb59c23f /devel/pango/options.mk | |
parent | 58e28f25133241eff4661cf3eaf81debf8173ab1 (diff) | |
download | pkgsrc-76e60e2a827351615a5251115ebef5d8e029947c.tar.gz |
Support the x11 option to enable/disable x and xft backends.
Diffstat (limited to 'devel/pango/options.mk')
-rw-r--r-- | devel/pango/options.mk | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/devel/pango/options.mk b/devel/pango/options.mk new file mode 100644 index 00000000000..2a39ac793af --- /dev/null +++ b/devel/pango/options.mk @@ -0,0 +1,21 @@ +# $NetBSD: options.mk,v 1.1 2006/07/23 04:59:34 minskim Exp $ + +PKG_OPTIONS_VAR= PKG_OPTIONS.pango +PKG_SUPPORTED_OPTIONS= x11 +PKG_SUGGESTED_OPTIONS= x11 + +.include "../../mk/bsd.options.mk" + +### +### X11 support +### +.if !empty(PKG_OPTIONS:Mx11) +PLIST_SUBST+= X11="" +BUILDLINK_API_DEPENDS.Xrender+= Xrender>=0.8 +.include "../../fonts/Xft2/buildlink3.mk" +.include "../../x11/Xrender/buildlink3.mk" +.include "../../mk/x11.buildlink3.mk" +.else +CONFIGURE_ARGS+= --without-x +PLIST_SUBST+= X11="@comment " +.endif |