Lines 4-10
Link Here
|
4 |
PORTNAME= bitcoin |
4 |
PORTNAME= bitcoin |
5 |
PORTVERSION= 0.16.0 |
5 |
PORTVERSION= 0.16.0 |
6 |
DISTVERSIONPREFIX= v |
6 |
DISTVERSIONPREFIX= v |
7 |
PORTREVISION?= 0 |
7 |
PORTREVISION?= 1 |
8 |
CATEGORIES= net-p2p finance |
8 |
CATEGORIES= net-p2p finance |
9 |
|
9 |
|
10 |
MAINTAINER= kbowling@FreeBSD.org |
10 |
MAINTAINER= kbowling@FreeBSD.org |
Lines 37-45
TESTS_PLIST_FILES= bin/test_bitcoin-qt \
Link Here
|
37 |
.endif |
37 |
.endif |
38 |
|
38 |
|
39 |
OPTIONS_DEFINE?= DBUS DEBUG HARDENING QRCODES TESTS UPNP WALLET ZMQ |
39 |
OPTIONS_DEFINE?= DBUS DEBUG HARDENING QRCODES TESTS UPNP WALLET ZMQ |
40 |
OPTIONS_DEFAULT?= DBUS HARDENING QRCODES UPNP WALLET |
40 |
OPTIONS_SINGLE= BDBVER |
|
|
41 |
OPTIONS_SINGLE_BDBVER= BDB48 BDBMODERN |
42 |
OPTIONS_DEFAULT?= BDBMODERN DBUS HARDENING QRCODES UPNP WALLET |
41 |
OPTIONS_SUB= yes |
43 |
OPTIONS_SUB= yes |
42 |
|
44 |
|
|
|
45 |
BDBVER_DESC= Berkeley DB version to use for wallet |
46 |
BDB48_DESC= Use BDB 4.8 (compatible with 5.x and 6.x) |
47 |
BDBMODERN_DESC= Use BDB 5.x or 6.x (not compatible with 4.8) |
43 |
HARDENING_DESC= Attempt to harden binaries (PIE for ASLR, NX Stack) |
48 |
HARDENING_DESC= Attempt to harden binaries (PIE for ASLR, NX Stack) |
44 |
QRCODES_DESC= Display QR Codes |
49 |
QRCODES_DESC= Display QR Codes |
45 |
TESTS_DESC= Build test binary and unit tests |
50 |
TESTS_DESC= Build test binary and unit tests |
Lines 71-77
QRCODES_LIB_DEPENDS= libqrencode.so:graphics/libqrencode
Link Here
|
71 |
WALLET_CONFIGURE_ENABLE= wallet |
76 |
WALLET_CONFIGURE_ENABLE= wallet |
72 |
WALLET_CXXFLAGS= -I${BDB_INCLUDE_DIR} |
77 |
WALLET_CXXFLAGS= -I${BDB_INCLUDE_DIR} |
73 |
WALLET_LIBS= -L${BDB_LIB_DIR} |
78 |
WALLET_LIBS= -L${BDB_LIB_DIR} |
74 |
WALLET_USES= bdb:48 |
|
|
75 |
|
79 |
|
76 |
ZMQ_CONFIGURE_ENABLE= zmq |
80 |
ZMQ_CONFIGURE_ENABLE= zmq |
77 |
ZMQ_BUILD_DEPENDS= libzmq4>0:net/libzmq4 |
81 |
ZMQ_BUILD_DEPENDS= libzmq4>0:net/libzmq4 |
Lines 94-99
PLIST_FILES?= bin/bitcoin-qt man/man1/bitcoin-qt.1.gz \
Link Here
|
94 |
|
98 |
|
95 |
.include <bsd.port.pre.mk> |
99 |
.include <bsd.port.pre.mk> |
96 |
|
100 |
|
|
|
101 |
.if empty(PORT_OPTIONS:MBDB48) |
102 |
WALLET_CONFIGURE_ON= --with-incompatible-bdb |
103 |
WALLET_USES= bdb:5+ |
104 |
.else |
105 |
WALLET_USES= bdb:48 |
106 |
.endif |
107 |
|
97 |
.if ${OSVERSION} < 1100000 |
108 |
.if ${OSVERSION} < 1100000 |
98 |
CONFIGURE_ARGS+=--disable-asm |
109 |
CONFIGURE_ARGS+=--disable-asm |
99 |
.endif |
110 |
.endif |