Index: head/net/boinc-client/Makefile =================================================================== --- head/net/boinc-client/Makefile (revision 224925) +++ head/net/boinc-client/Makefile (revision 224926) @@ -1,87 +1,88 @@ # New ports collection makefile for: boinc # Date created: 01 October 2004 # Whom: J.R. Oldroyd # # $FreeBSD$ # PORTNAME= boinc-client PORTVERSION= 6.4.5 +PORTREVISION= 1 CATEGORIES= net MASTER_SITES= ${MASTER_SITE_LOCAL} MASTER_SITE_SUBDIR= pav MAINTAINER= pav@FreeBSD.org COMMENT= Berkeley Open Infrastructure for Network Computing client LIB_DEPENDS= curl:${PORTSDIR}/ftp/curl USE_BZIP2= yes USE_GNOME= gnometarget GNU_CONFIGURE= yes BOINC_USER?= boinc BOINC_GROUP?= nobody BOINC_HOME?= /var/db/boinc PLIST_SUB= BOINC_HOME="${BOINC_HOME}" BOINC_USER="${BOINC_USER}" BOINC_GROUP="${BOINC_GROUP}" SUB_FILES= pkg-install SUB_LIST= BOINC_HOME="${BOINC_HOME}" BOINC_USER="${BOINC_USER}" BOINC_GROUP="${BOINC_GROUP}" USE_RC_SUBR= boinc.sh CONFIGURE_ARGS= --disable-server CPPFLAGS+= -I${LOCALBASE}/include CXXFLAGS:= ${CXXFLAGS:N-O*:N-f*} -O3 CFLAGS:= ${CFLAGS:N-O*:N-f*} -O3 CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" CXXFLAGSS="${CXXFLAGS}" CFLAGS="${CFLAGS}" OPTIONS= X11 "Build Boinc Manager GUI" on \ ALT "Accept Linux science applications" off .include .if !defined(WITHOUT_X11) USE_XORG= x11 USE_WX= 2.6+ WX_CONF_ARGS= absolute CPPFLAGS+= -I${LOCALBASE}/include USE_ICONV= yes LIB_DEPENDS+= jpeg:${PORTSDIR}/graphics/jpeg \ glut:${PORTSDIR}/graphics/libglut PLIST_SUB+= BOINC_GUI="" .else CONFIGURE_ARGS+= --with-wx-config=false --without-x PLIST_SUB+= BOINC_GUI="@comment " .endif .if defined(WITH_ALT) CONFIGURE_ARGS+=--with-boinc-alt-platform=i686-pc-linux-gnu USE_LINUX= yes .endif post-patch: @${REINPLACE_CMD} -e 's|gui_rpc_auth.cfg|${BOINC_HOME}/gui_rpc_auth.cfg|g' \ ${WRKSRC}/client/file_names.h ${WRKSRC}/lib/boinc_cmd.cpp \ ${WRKSRC}/clientgui/MainDocument.cpp @${REINPLACE_CMD} -e 's|../curl/ca-bundle.crt||' ${WRKSRC}/client/Makefile.in @${REINPLACE_CMD} -e 's|ca-bundle.crt|${LOCALBASE}/share/curl/curl-ca-bundle.crt|' ${WRKSRC}/client/file_names.h @${REINPLACE_CMD} -e 's|||' ${WRKSRC}/clientgui/stdwx.h @${REINPLACE_CMD} -e 's| install-dist_pkgdataDATA||' ${WRKSRC}/clientgui/res/Makefile.in @${REINPLACE_CMD} -e 's|boincmgr.16x16.png boincmgr.32x32.png boincmgr.48x48.png||' ${WRKSRC}/clientgui/res/Makefile.in @${REINPLACE_CMD} -e 's|client/scripts||' ${WRKSRC}/Makefile.in # kill -O3 from clientgui build, it triggers some optimization bug and segfaults on runtime with -O3 post-configure: @${REINPLACE_CMD} -e 's|-O3 ||' ${WRKSRC}/clientgui/Makefile post-install: .for file in boinc_gl graphics_api graphics_data reduce ${INSTALL_DATA} ${WRKSRC}/api/${file}.h ${PREFIX}/include/boinc/ .endfor @PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL .include Property changes on: head/net/boinc-client/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.36 \ No newline at end of property +1.37 \ No newline at end of property Index: head/net/boinc-client/files/patch-hostinfo_unix.cpp =================================================================== --- head/net/boinc-client/files/patch-hostinfo_unix.cpp (nonexistent) +++ head/net/boinc-client/files/patch-hostinfo_unix.cpp (revision 224926) @@ -0,0 +1,17 @@ +--- client/hostinfo_unix.cpp.orig 2008-12-28 11:11:26.000000000 +0100 ++++ client/hostinfo_unix.cpp 2008-12-29 00:51:32.000000000 +0100 +@@ -809,14 +809,6 @@ + int mem_size; + getsysinfo( GSI_PHYSMEM, (caddr_t) &mem_size, sizeof( mem_size)); + m_nbytes = 1024.* (double)mem_size; +-#elif defined(HW_PHYSMEM) +- // for OpenBSD +- mib[0] = CTL_HW; +- int mem_size; +- mib[1] = HW_PHYSMEM; +- len = sizeof(mem_size); +- sysctl(mib, 2, &mem_size, &len, NULL, 0); +- m_nbytes = mem_size; + #elif defined(__FreeBSD__) + unsigned int mem_size; + mib[0] = CTL_HW; Property changes on: head/net/boinc-client/files/patch-hostinfo_unix.cpp ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property