summaryrefslogtreecommitdiff
path: root/wm/jwm/options.mk
diff options
context:
space:
mode:
Diffstat (limited to 'wm/jwm/options.mk')
-rw-r--r--wm/jwm/options.mk16
1 files changed, 11 insertions, 5 deletions
diff --git a/wm/jwm/options.mk b/wm/jwm/options.mk
index a01beda043e..3407d3cbcd9 100644
--- a/wm/jwm/options.mk
+++ b/wm/jwm/options.mk
@@ -1,8 +1,8 @@
-# $NetBSD: options.mk,v 1.2 2007/02/22 19:27:18 wiz Exp $
+# $NetBSD: options.mk,v 1.3 2008/06/17 00:00:30 abs Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.jwm
-PKG_SUPPORTED_OPTIONS= debug png
-PKG_SUGGESTED_OPTIONS= png
+PKG_SUPPORTED_OPTIONS= debug fribidi jpeg png
+PKG_SUGGESTED_OPTIONS= fribidi jpeg png
.include "../../mk/bsd.options.mk"
@@ -10,10 +10,16 @@ PKG_SUGGESTED_OPTIONS= png
CONFIGURE_ARGS+= --enable-debug
.endif
+.if !empty(PKG_OPTIONS:Mfribidi)
+.include "../../converters/fribidi/buildlink3.mk"
+.endif
+
+.if !empty(PKG_OPTIONS:Mjpeg)
+.include "../../graphics/jpeg/buildlink3.mk"
+.endif
+
.if !empty(PKG_OPTIONS:Mpng)
.include "../../graphics/png/buildlink3.mk"
.else
CONFIGURE_ARGS+= --disable-png
.endif
-
-# TODO: fribidi