2019-09-20 18:57:28 +02:00
|
|
|
# $NetBSD: options.mk,v 1.3 2019/09/20 16:57:28 adam Exp $
|
2018-07-08 13:13:45 +02:00
|
|
|
|
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.bitcoin
|
2019-09-20 18:57:28 +02:00
|
|
|
PKG_SUPPORTED_OPTIONS+= qt5 upnp
|
2019-05-13 10:32:56 +02:00
|
|
|
# qt5 is off because it doubles the footprint of the package.
|
2018-07-08 13:13:45 +02:00
|
|
|
# Please do not enable it by default; instead, create a split
|
|
|
|
# package.
|
|
|
|
|
|
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
|
2019-09-20 18:57:28 +02:00
|
|
|
PLIST_VARS+= qt
|
|
|
|
|
2018-07-08 13:13:45 +02:00
|
|
|
.if !empty(PKG_OPTIONS:Mqt5)
|
2019-09-20 18:57:28 +02:00
|
|
|
CONFIGURE_ARGS+= --with-gui=qt5
|
|
|
|
CONFIGURE_ARGS+= --with-qt-bindir=${QTDIR}/bin
|
2018-07-08 13:13:45 +02:00
|
|
|
PLIST.qt= yes
|
|
|
|
.include "../../converters/qrencode/buildlink3.mk"
|
|
|
|
.include "../../devel/protobuf/buildlink3.mk"
|
|
|
|
.include "../../x11/qt5-qttools/buildlink3.mk"
|
2019-09-20 18:57:28 +02:00
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --with-gui=no
|
2018-07-08 13:13:45 +02:00
|
|
|
.endif
|
|
|
|
|
2019-09-20 18:57:28 +02:00
|
|
|
.if !empty(PKG_OPTIONS:Mupnp)
|
|
|
|
CONFIGURE_ARGS+= --with-miniupnpc
|
2018-07-08 13:13:45 +02:00
|
|
|
.include "../../net/miniupnpc/buildlink3.mk"
|
2019-09-20 18:57:28 +02:00
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --without-miniupnpc
|
2018-07-08 13:13:45 +02:00
|
|
|
.endif
|