Index: head/net-p2p/bitcoin/Makefile =================================================================== --- head/net-p2p/bitcoin/Makefile (revision 303606) +++ head/net-p2p/bitcoin/Makefile (revision 303607) @@ -1,97 +1,97 @@ # New ports collection makefile for: bitcoin # Date created: 2011-05-20 # Whom: Shaun Amott # # $FreeBSD$ # PORTNAME= bitcoin PORTVERSION= 0.6.3 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= net-p2p finance MAINTAINER= ports@FreeBSD.org COMMENT= Virtual Peer-to-Peer Currency Client LIB_DEPENDS= boost_date_time:${PORTSDIR}/devel/boost-libs OPTIONS= GUI "Build with QT3 GUI" on \ UPNP "Build with UPNP support" off \ QRCODES "Build with QR code display" on USE_GITHUB= yes GH_ACCOUNT= bitcoin GH_PROJECT= bitcoin GH_COMMIT= 6e0c5e3 USE_GMAKE= yes USE_OPENSSL= yes USE_BDB= yes WANT_BDB_VER= 47 CXXFLAGS+= -I${LOCALBASE}/include -I${BDB_INCLUDE_DIR} CXXFLAGS+= -L${LOCALBASE}/lib -L${BDB_LIB_DIR} CXXFLAGS+= -Wno-invalid-offsetof .include .if defined(WITH_GUI) && !defined(WITHOUT_X11) USE_QT_VER= 4 USE_QT4= corelib gui qmake_build linguist uic moc rcc BINARY= bitcoin-qt .else BINARY= bitcoind ALL_TARGET= ${BINARY} MAKE_ARGS+= -C ${WRKSRC}/src .endif .if defined(WITH_QRCODES) LIB_DEPENDS+= qrencode:${PORTSDIR}/graphics/libqrencode QMAKE_USE_QRCODE=1 .else QMAKE_USE_QRCODE=0 .endif PLIST_FILES= bin/${BINARY} .if defined(WITH_UPNP) LIB_DEPENDS+= miniupnpc:${PORTSDIR}/net/miniupnpc QMAKE_USE_UPNP= 1 .else QMAKE_USE_UPNP= - .endif .include post-patch: @${CP} ${WRKSRC}/src/protocol.h ${WRKSRC}/src/protocol.h.orig @${AWK} 'BEGIN { f = 0 } { if ( $$0 ~ /^#include/ && f == 0 ) { f = 1; print "#include "; print "#include " }; print }' \ ${WRKSRC}/src/protocol.h.orig > ${WRKSRC}/src/protocol.h @cd ${WRKSRC}/src && ${CP} -p makefile.unix Makefile @${REINPLACE_CMD} \ -e 's|wx-config|${WX_CONFIG}|g' \ -e 's|^CXXFLAGS=.*$$|CXXFLAGS += $$(DEFS)|' \ -e 's|^USE_UPNP.*$$||' \ -e 's|-l pthread|${PTHREAD_LIBS}|g' \ -e 's:-O3::' -e 's:-\(march=[A-Za-z0-9]*\)::g' \ -e 's:-l dl::' \ ${WRKSRC}/src/Makefile do-configure: .if defined(WITH_GUI) && !defined(WITHOUT_X11) cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} \ ${QMAKE} USE_UPNP=${QMAKE_USE_UPNP} USE_QRCODE=${QMAKE_USE_QRCODE} \ QMAKE_LRELEASE=lrelease-qt4 PREFIX=${PREFIX} INCLUDEPATH=${BDB_INCLUDE_DIR} \ QMAKE_LIBDIR+=${BDB_LIB_DIR} bitcoin-qt.pro .endif do-install: @${MKDIR} ${PREFIX}/bin .if defined(WITH_GUI) && !defined(WITHOUT_X11) ${INSTALL_PROGRAM} ${WRKSRC}/${BINARY} ${PREFIX}/bin/ .else ${INSTALL_PROGRAM} ${WRKSRC}/src/${BINARY} ${PREFIX}/bin/ .endif .include Index: head/net-p2p/bitcoin/files/patch-bitcoin.cpp =================================================================== --- head/net-p2p/bitcoin/files/patch-bitcoin.cpp (nonexistent) +++ head/net-p2p/bitcoin/files/patch-bitcoin.cpp (revision 303607) @@ -0,0 +1,20 @@ +--- src/qt/bitcoin.cpp.orig 2012-06-19 16:44:55.000000000 -0400 ++++ src/qt/bitcoin.cpp 2012-09-03 13:30:43.641710746 -0400 +@@ -134,7 +134,7 @@ + #ifndef BITCOIN_QT_TEST + int main(int argc, char *argv[]) + { +-#if !defined(MAC_OSX) && !defined(WIN32) ++#if !defined(MAC_OSX) && !defined(WIN32) && !defined(__FreeBSD__) + // TODO: implement qtipcserver.cpp for Mac and Windows + + // Do this early as we don't want to bother initializing if we are just calling IPC +@@ -261,7 +261,7 @@ + // Place this here as guiref has to be defined if we dont want to lose URIs + ipcInit(); + +-#if !defined(MAC_OSX) && !defined(WIN32) ++#if !defined(MAC_OSX) && !defined(WIN32) && !defined(__FreeBSD__) + // TODO: implement qtipcserver.cpp for Mac and Windows + + // Check for URI in argv Property changes on: head/net-p2p/bitcoin/files/patch-bitcoin.cpp ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +1 \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property