View | Details | Raw Unified | Return to bug 201154 | Differences between
and this patch

Collapse All | Expand All

(-)net-p2p/litecoin/Makefile (-6 / +15 lines)
Lines 11-16 Link Here
11
MAINTAINER=	swills@FreeBSD.org
11
MAINTAINER=	swills@FreeBSD.org
12
COMMENT=	Virtual Peer-to-Peer Currency Software
12
COMMENT=	Virtual Peer-to-Peer Currency Software
13
13
14
LICENSE=	MIT
15
LICENSE_FILE=	${WRKSRC}/COPYING
16
14
LIB_DEPENDS=	libboost_date_time.so:${PORTSDIR}/devel/boost-libs
17
LIB_DEPENDS=	libboost_date_time.so:${PORTSDIR}/devel/boost-libs
15
18
16
USE_GITHUB=	yes
19
USE_GITHUB=	yes
Lines 42-48 Link Here
42
.endif
45
.endif
43
46
44
.if ${PORT_OPTIONS:MX11}
47
.if ${PORT_OPTIONS:MX11}
45
USE_QT4=	network gui qmake_build linguist_build uic_build moc_build rcc_build
48
USE_QT4=	network gui qmake_build linguisttools_build uic_build \
49
		moc_build rcc_build
46
50
47
BINARY=		litecoin-qt
51
BINARY=		litecoin-qt
48
.else
52
.else
Lines 71-77 Link Here
71
.include <bsd.port.pre.mk>
75
.include <bsd.port.pre.mk>
72
76
73
.if ${PORT_OPTIONS:MX11}
77
.if ${PORT_OPTIONS:MX11}
74
PLIST_FILES+=	share/applications/litecoin-qt.desktop share/pixmaps/litecoin64.png
78
PLIST_FILES+=	share/applications/litecoin-qt.desktop \
79
		share/pixmaps/litecoin64.png
75
.endif
80
.endif
76
81
77
do-configure:
82
do-configure:
Lines 93-110 Link Here
93
		-e 's,bitcoin,litecoin,g' \
98
		-e 's,bitcoin,litecoin,g' \
94
		-e 's,Bitcoin,Litecoin,g' \
99
		-e 's,Bitcoin,Litecoin,g' \
95
		-e 's,128,64,g' ${WRKSRC}/contrib/debian/bitcoin-qt.desktop
100
		-e 's,128,64,g' ${WRKSRC}/contrib/debian/bitcoin-qt.desktop
96
	${INSTALL} ${WRKSRC}/contrib/debian/bitcoin-qt.desktop ${STAGEDIR}${PREFIX}/share/applications/litecoin-qt.desktop
101
	${INSTALL} ${WRKSRC}/contrib/debian/bitcoin-qt.desktop \
97
	${INSTALL} ${WRKSRC}/share/pixmaps/bitcoin64.png ${STAGEDIR}${PREFIX}/share/pixmaps/litecoin64.png
102
		${STAGEDIR}${PREFIX}/share/applications/litecoin-qt.desktop
103
	${INSTALL} ${WRKSRC}/share/pixmaps/bitcoin64.png \
104
		${STAGEDIR}${PREFIX}/share/pixmaps/litecoin64.png
98
.else
105
.else
99
	${INSTALL_PROGRAM} ${WRKSRC}/src/${BINARY} ${STAGEDIR}${PREFIX}/bin/
106
	${INSTALL_PROGRAM} ${WRKSRC}/src/${BINARY} ${STAGEDIR}${PREFIX}/bin/
100
.endif
107
.endif
101
108
102
post-patch:
109
post-patch:
103
	@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' ${WRKSRC}/src/makefile.unix
110
	@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' \
111
		${WRKSRC}/src/makefile.unix
104
112
105
regression-test:
113
regression-test:
106
.if !${PORT_OPTIONS:MX11}
114
.if !${PORT_OPTIONS:MX11}
107
	@${MAKE_CMD} -C ${WRKSRC}/src -f makefile.unix USE_UPNP=${QMAKE_USE_UPNP} test_litecoin
115
	@${MAKE_CMD} -C ${WRKSRC}/src -f makefile.unix \
116
		USE_UPNP=${QMAKE_USE_UPNP} test_litecoin
108
	(cd ${WRKSRC}/src ; ./test_litecoin)
117
	(cd ${WRKSRC}/src ; ./test_litecoin)
109
.endif
118
.endif
110
119
(-)net-p2p/litecoin/files/patch-bitcoin-qt.pro (-3 / +3 lines)
Lines 1-6 Link Here
1
--- ./bitcoin-qt.pro.orig	2014-01-10 01:38:53.000000000 +0000
1
--- bitcoin-qt.pro.orig	2014-01-10 01:38:53 UTC
2
+++ ./bitcoin-qt.pro	2014-02-09 05:45:03.127008564 +0000
2
+++ bitcoin-qt.pro
3
@@ -431,7 +431,7 @@
3
@@ -431,7 +431,7 @@ LIBS += $$join(BOOST_LIB_PATH,,-L,) $$jo
4
 LIBS += -lssl -lcrypto -ldb_cxx$$BDB_LIB_SUFFIX
4
 LIBS += -lssl -lcrypto -ldb_cxx$$BDB_LIB_SUFFIX
5
 # -lgdi32 has to happen after -lcrypto (see  #681)
5
 # -lgdi32 has to happen after -lcrypto (see  #681)
6
 win32:LIBS += -lws2_32 -lshlwapi -lmswsock -lole32 -loleaut32 -luuid -lgdi32
6
 win32:LIBS += -lws2_32 -lshlwapi -lmswsock -lole32 -loleaut32 -luuid -lgdi32
(-)net-p2p/litecoin/files/patch-src__makefile.unix (-5 / +5 lines)
Lines 1-6 Link Here
1
--- ./src/makefile.unix.orig	2014-01-10 01:38:53.000000000 +0000
1
--- src/makefile.unix.orig	2014-01-10 01:38:53 UTC
2
+++ ./src/makefile.unix	2014-02-09 05:45:03.135007077 +0000
2
+++ src/makefile.unix
3
@@ -15,6 +15,11 @@
3
@@ -15,6 +15,11 @@ LINK:=$(CXX)
4
 
4
 
5
 DEFS=-DBOOST_SPIRIT_THREADSAFE -D_FILE_OFFSET_BITS=64
5
 DEFS=-DBOOST_SPIRIT_THREADSAFE -D_FILE_OFFSET_BITS=64
6
 
6
 
Lines 12-18 Link Here
12
 DEFS += $(addprefix -I,$(CURDIR) $(CURDIR)/obj $(BOOST_INCLUDE_PATH) $(BDB_INCLUDE_PATH) $(OPENSSL_INCLUDE_PATH))
12
 DEFS += $(addprefix -I,$(CURDIR) $(CURDIR)/obj $(BOOST_INCLUDE_PATH) $(BDB_INCLUDE_PATH) $(OPENSSL_INCLUDE_PATH))
13
 LIBS = $(addprefix -L,$(BOOST_LIB_PATH) $(BDB_LIB_PATH) $(OPENSSL_LIB_PATH))
13
 LIBS = $(addprefix -L,$(BOOST_LIB_PATH) $(BDB_LIB_PATH) $(OPENSSL_LIB_PATH))
14
 
14
 
15
@@ -38,6 +43,7 @@
15
@@ -38,6 +43,7 @@ LIBS += \
16
    -l boost_filesystem$(BOOST_LIB_SUFFIX) \
16
    -l boost_filesystem$(BOOST_LIB_SUFFIX) \
17
    -l boost_program_options$(BOOST_LIB_SUFFIX) \
17
    -l boost_program_options$(BOOST_LIB_SUFFIX) \
18
    -l boost_thread$(BOOST_LIB_SUFFIX) \
18
    -l boost_thread$(BOOST_LIB_SUFFIX) \
Lines 20-26 Link Here
20
    -l db_cxx$(BDB_LIB_SUFFIX) \
20
    -l db_cxx$(BDB_LIB_SUFFIX) \
21
    -l ssl \
21
    -l ssl \
22
    -l crypto
22
    -l crypto
23
@@ -61,7 +67,6 @@
23
@@ -61,7 +67,6 @@ endif
24
 LIBS+= \
24
 LIBS+= \
25
  -Wl,-B$(LMODE2) \
25
  -Wl,-B$(LMODE2) \
26
    -l z \
26
    -l z \
(-)net-p2p/litecoin/files/patch-src__scrypt.cpp (-2 / +2 lines)
Lines 1-5 Link Here
1
--- ./src/scrypt.cpp.orig	2014-01-10 01:38:53.000000000 +0000
1
--- src/scrypt.cpp.orig	2014-01-10 01:38:53 UTC
2
+++ ./src/scrypt.cpp	2014-02-09 05:45:03.131006405 +0000
2
+++ src/scrypt.cpp
3
@@ -33,6 +33,7 @@
3
@@ -33,6 +33,7 @@
4
 #include <stdint.h>
4
 #include <stdint.h>
5
 #include <string.h>
5
 #include <string.h>
(-)net-p2p/litecoin/files/patch-src__scrypt.h (-3 / +3 lines)
Lines 1-6 Link Here
1
--- ./src/scrypt.h.orig	2014-01-10 01:38:53.000000000 +0000
1
--- src/scrypt.h.orig	2014-01-10 01:38:53 UTC
2
+++ ./src/scrypt.h	2014-02-09 05:45:03.133009188 +0000
2
+++ src/scrypt.h
3
@@ -27,19 +27,4 @@
3
@@ -27,19 +27,4 @@ void
4
 PBKDF2_SHA256(const uint8_t *passwd, size_t passwdlen, const uint8_t *salt,
4
 PBKDF2_SHA256(const uint8_t *passwd, size_t passwdlen, const uint8_t *salt,
5
     size_t saltlen, uint64_t c, uint8_t *buf, size_t dkLen);
5
     size_t saltlen, uint64_t c, uint8_t *buf, size_t dkLen);
6
 
6
 

Return to bug 201154