aboutsummaryrefslogtreecommitdiff
path: root/network/dogecoin/dogecoin.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/dogecoin/dogecoin.SlackBuild')
-rw-r--r--network/dogecoin/dogecoin.SlackBuild13
1 files changed, 5 insertions, 8 deletions
diff --git a/network/dogecoin/dogecoin.SlackBuild b/network/dogecoin/dogecoin.SlackBuild
index 91fd5eb5c9ad0..6733350de65f5 100644
--- a/network/dogecoin/dogecoin.SlackBuild
+++ b/network/dogecoin/dogecoin.SlackBuild
@@ -77,10 +77,6 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-LDFLAGS="$SLKLDFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-CFLAGS="$SLKCFLAGS" \
-
# Detect miniupnpc
if [ -x /usr/bin/upnpc ]; then UPNP=1; else UPNP="-"; fi
@@ -91,9 +87,9 @@ if [ -x /usr/bin/qrencode ]; then QRCODE=1; else QRCODE=0; fi
echo Building dogecoin-qt ...
qmake \
QMAKE_CFLAGS+="$SLKCFLAGS" \
- QMAKE_CXXFLAGS+="$SLKCFLAGS" \
- "USE_UPNP=$UPNP" \
- USE_QRCODE=$QRCODE \
+ QMAKE_CXXFLAGS+="$SLKCFLAGS -DBOOST_VARIANT_USE_RELAXED_GET_BY_DEFAULT=1" \
+ USE_UPNP="$UPNP" \
+ USE_QRCODE="$QRCODE" \
USE_SSL=1
make
@@ -110,10 +106,11 @@ cd src
sed -i 's/Bstatic/Bdynamic/g' makefile.unix
CFLAGS="$SLKCFLAGS" \
- CXXFLAGS="$SLKCFLAGS" \
+ CXXFLAGS="$SLKCFLAGS -DBOOST_VARIANT_USE_RELAXED_GET_BY_DEFAULT=1" \
make -f makefile.unix \
dogecoind \
USE_SSL=1
+
cd -
mkdir -p $PKG/usr/{bin,man/man{1,5}}