Annotation of pkgsrc/graphics/gnuplot/options.mk, revision 1.8

1.8     ! bad         1: # $NetBSD: options.mk,v 1.7 2013/05/16 14:17:04 adam Exp $
1.1       asau        2: 
                      3: PKG_OPTIONS_VAR=       PKG_OPTIONS.gnuplot
1.8     ! bad         4: PKG_SUPPORTED_OPTIONS= gd lua pdf x11 qt4 wxwidgets
1.3       drochner    5: PKG_SUGGESTED_OPTIONS= gd x11
1.1       asau        6: 
                      7: .include "../../mk/bsd.options.mk"
                      8: 
1.5       drochner    9: PLIST_VARS+=   x11 qt4
1.2       adam       10: 
                     11: .if !empty(PKG_OPTIONS:Mgd)
                     12: .include "../../graphics/gd/buildlink3.mk"
                     13: .endif
                     14: 
1.4       obache     15: .if !empty(PKG_OPTIONS:Mlua)
                     16: .include "../../lang/lua/buildlink3.mk"
                     17: .else
                     18: CONFIGURE_ARGS+=       --without-lua
                     19: .endif
                     20: 
1.3       drochner   21: # PDF output is also provided by cairo
1.1       asau       22: .if !empty(PKG_OPTIONS:Mpdf)
1.2       adam       23: CONFIGURE_ARGS+=       --with-pdf
                     24: .include "../../print/pdflib-lite/buildlink3.mk"
1.1       asau       25: .endif
                     26: 
1.2       adam       27: .if !empty(PKG_OPTIONS:Mx11)
                     28: PLIST.x11=     yes
                     29: .include "../../x11/libXaw/buildlink3.mk"
                     30: .else
                     31: CONFIGURE_ARGS+=       --without-x
1.1       asau       32: .endif
1.5       drochner   33: 
                     34: .if !empty(PKG_OPTIONS:Mqt4)
1.7       adam       35: USE_LANGUAGES+=                c++
1.5       drochner   36: CONFIGURE_ARGS+=       --enable-qt
1.7       adam       37: PLIST.qt4=             yes
1.5       drochner   38: .include "../../x11/qt4-libs/buildlink3.mk"
                     39: .else
1.7       adam       40: CONFIGURE_ARGS+=       --disable-qt
1.5       drochner   41: .endif
                     42: 
                     43: .if !empty(PKG_OPTIONS:Mwxwidgets)
1.7       adam       44: USE_LANGUAGES+=                c++
1.8     ! bad        45: # force wxt terminal into single threaded mode to avoid crashes
        !            46: # c.f. http://sourceforge.net/p/gnuplot/mailman/message/31928881/
        !            47: CONFIGURE_ARGS+=       --enable-wxwidgets --with-wx-single-threaded
1.5       drochner   48: .include "../../x11/wxGTK28/buildlink3.mk"
                     49: .else
1.7       adam       50: CONFIGURE_ARGS+=       --disable-wxwidgets
1.5       drochner   51: .endif

CVSweb <webmaster@jp.NetBSD.org>