Mark as broken: does not build:
uibase.cpp: In constructor 'CMainFrameBase::CMainFrameBase(wxWindow*, wxWindowID, const wxString&, const wxPoint&, const wxSize&, long int)':
uibase.cpp:142: error: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second:
/usr/local/include/wx-2.9/wx/gtk/font.h:37: note: candidate 1: wxFont::wxFont(int, int, int, int, bool, const wxString&, wxFontEncoding)
/usr/local/include/wx-2.9/wx/gtk/font.h:70: note: candidate 2: wxFont::wxFont(int, wxFontFamily, int, const wxString&, wxFontEncoding)
uibase.cpp:165: error: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second:
/usr/local/include/wx-2.9/wx/gtk/font.h:37: note: candidate 1: wxFont::wxFont(int, int, int, int, bool, const wxString&, wxFontEncoding)
/usr/local/include/wx-2.9/wx/gtk/font.h:70: note: candidate 2: wxFont::wxFont(int, wxFontFamily, int, const wxString&, wxFontEncoding)
2013-01-30 14:56:52 +00:00
|
|
|
# Created by: Dmitriy Limonov
|
2011-12-14 23:29:47 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= solidcoin
|
2012-02-01 13:14:05 +00:00
|
|
|
PORTVERSION= 2.041
|
2013-04-30 02:24:08 +00:00
|
|
|
PORTREVISION= 4
|
2011-12-14 23:29:47 +00:00
|
|
|
CATEGORIES= net-p2p finance
|
2013-04-30 02:24:08 +00:00
|
|
|
MASTER_SITES= http://downloads.solidcoin.info/ \
|
2012-01-16 06:14:49 +00:00
|
|
|
http://dl.dropbox.com/u/47582909/
|
2013-04-30 02:24:08 +00:00
|
|
|
DISTNAME= ${PORTNAME}-source-${PORTVERSION:S/.//g}
|
2011-12-14 23:29:47 +00:00
|
|
|
|
2013-02-14 06:29:30 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2011-12-14 23:29:47 +00:00
|
|
|
COMMENT= Alternative Bitcoin peer-to-peer currency client
|
|
|
|
|
2013-04-30 02:24:08 +00:00
|
|
|
LICENSE= MIT
|
Mark as broken: does not build:
uibase.cpp: In constructor 'CMainFrameBase::CMainFrameBase(wxWindow*, wxWindowID, const wxString&, const wxPoint&, const wxSize&, long int)':
uibase.cpp:142: error: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second:
/usr/local/include/wx-2.9/wx/gtk/font.h:37: note: candidate 1: wxFont::wxFont(int, int, int, int, bool, const wxString&, wxFontEncoding)
/usr/local/include/wx-2.9/wx/gtk/font.h:70: note: candidate 2: wxFont::wxFont(int, wxFontFamily, int, const wxString&, wxFontEncoding)
uibase.cpp:165: error: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second:
/usr/local/include/wx-2.9/wx/gtk/font.h:37: note: candidate 1: wxFont::wxFont(int, int, int, int, bool, const wxString&, wxFontEncoding)
/usr/local/include/wx-2.9/wx/gtk/font.h:70: note: candidate 2: wxFont::wxFont(int, wxFontFamily, int, const wxString&, wxFontEncoding)
2013-01-30 14:56:52 +00:00
|
|
|
|
2011-12-14 23:29:47 +00:00
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/include/boost/graph/parallel/algorithm.hpp:${PORTSDIR}/devel/boost-libs
|
2013-01-31 13:38:42 +00:00
|
|
|
LIB_DEPENDS= boost_date_time:${PORTSDIR}/devel/boost-libs
|
2011-12-14 23:29:47 +00:00
|
|
|
|
2013-04-30 02:24:08 +00:00
|
|
|
OPTIONS_DEFINE= WXGTK
|
|
|
|
OPTIONS_DEFAULT= WXGTK
|
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/src
|
2011-12-14 23:29:47 +00:00
|
|
|
|
2012-01-16 06:14:49 +00:00
|
|
|
USE_ZIP= yes
|
2013-04-30 02:24:08 +00:00
|
|
|
USE_DOS2UNIX= yes
|
|
|
|
USE_GNOME= glib20
|
2011-12-14 23:29:47 +00:00
|
|
|
USE_OPENSSL= yes
|
|
|
|
USE_BDB= yes
|
|
|
|
WANT_BDB_VER= 47
|
2013-04-30 02:24:08 +00:00
|
|
|
USE_GCC= any
|
|
|
|
USE_GMAKE= yes
|
|
|
|
ALL_TARGET= ${BINARY}
|
2011-12-14 23:29:47 +00:00
|
|
|
MAKE_JOBS_SAFE= yes
|
|
|
|
|
|
|
|
CXXFLAGS+= -Wno-invalid-offsetof
|
2013-04-30 02:24:08 +00:00
|
|
|
CPPFLAGS+= -I${BDB_INCLUDE_DIR} -I${LOCALBASE}/include
|
|
|
|
LDFLAGS+= -L${BDB_LIB_DIR} -L${LOCALBASE}/lib
|
2011-12-14 23:29:47 +00:00
|
|
|
|
2013-04-30 02:24:08 +00:00
|
|
|
PLIST_FILES= bin/${BINARY}
|
2011-12-14 23:29:47 +00:00
|
|
|
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
|
2013-04-30 02:24:08 +00:00
|
|
|
.if ${PORT_OPTIONS:MWXGTK}
|
2011-12-14 23:29:47 +00:00
|
|
|
USE_WX= 2.9
|
2013-04-30 02:24:08 +00:00
|
|
|
WX_UNICODE= yes
|
|
|
|
PLIST_FILES+= share/pixmaps/solidcoin48.xpm
|
|
|
|
DESKTOP_ENTRIES="SolidCoin" "" "${PREFIX}/share/pixmaps/solidcoin48.xpm" \
|
|
|
|
"${PORTNAME}" "" true
|
2011-12-14 23:29:47 +00:00
|
|
|
BINARY= solidcoin
|
|
|
|
.else
|
|
|
|
BINARY= solidcoind
|
|
|
|
.endif
|
|
|
|
|
|
|
|
post-patch:
|
2012-01-16 06:14:49 +00:00
|
|
|
.for i in crypto gui nogui
|
2013-04-30 02:24:08 +00:00
|
|
|
@${MKDIR} ${WRKSRC}/../obj/${i}
|
2012-01-16 06:14:49 +00:00
|
|
|
.endfor
|
2013-04-30 02:24:08 +00:00
|
|
|
@${ECHO_CMD} '18i\' > ${WRKDIR}/sed.in
|
|
|
|
@${ECHO_CMD} '#ifndef __STDC_LIMIT_MACROS' >> ${WRKDIR}/sed.in
|
|
|
|
@${ECHO_CMD} '19i\' >> ${WRKDIR}/sed.in
|
|
|
|
@${ECHO_CMD} '#endif' >> ${WRKDIR}/sed.in
|
2011-12-14 23:29:47 +00:00
|
|
|
@${REINPLACE_CMD} \
|
2013-04-30 02:24:08 +00:00
|
|
|
-f ${WRKDIR}/sed.in \
|
2011-12-14 23:29:47 +00:00
|
|
|
${WRKSRC}/headers.h
|
2013-04-30 02:24:08 +00:00
|
|
|
|
|
|
|
do-configure:
|
|
|
|
@cd ${WRKSRC} && ${SED} -e \
|
|
|
|
's|^CXX=|CXX?=| ; \
|
|
|
|
s|shell .* |shell $$(WX_CONFIG) | ; \
|
|
|
|
s|-Wl,-Bstatic|| ; ; \
|
|
|
|
s|-Wl,-Bdynamic|| ; \
|
|
|
|
/-l dl/d ; \
|
|
|
|
s|-l pthread|$$(LDFLAGS)|; \
|
|
|
|
s|^CXXFLAGS=-O2|CXXFLAGS+=$$(CPPFLAGS)|' \
|
|
|
|
< ../build/makefile.unix > Makefile
|
|
|
|
|
2011-12-14 23:29:47 +00:00
|
|
|
do-install:
|
2013-04-30 02:24:08 +00:00
|
|
|
(cd ${WRKSRC} && ${INSTALL_PROGRAM} ${BINARY} ${PREFIX}/bin)
|
|
|
|
.if ${PORT_OPTIONS:MWXGTK}
|
|
|
|
(cd ${WRKSRC}/../share/xpm && ${INSTALL_DATA} solidcoin48.xpm \
|
|
|
|
${PREFIX}/share/pixmaps)
|
|
|
|
.endif
|
2011-12-14 23:29:47 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|