- Add option to accept Linux science applications

Requested by:	marck
This commit is contained in:
Pav Lucistnik 2008-03-07 10:32:51 +00:00
parent 93593c52cd
commit e7fc78a3cd
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=208564

View File

@ -37,7 +37,8 @@ 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
OPTIONS= X11 "Build Boinc Manager GUI" on \
ALT "Accept Linux science applications" off
.include <bsd.port.pre.mk>
@ -46,22 +47,22 @@ USE_XLIB= yes
USE_WX= 2.6+
WX_CONF_ARGS= absolute
CPPFLAGS+= -I${X11BASE}/include
.else
CONFIGURE_ARGS+= --with-wx-config=false --without-x
.endif
.if !defined(WITHOUT_X11)
USE_ICONV= yes
LIB_DEPENDS+= jpeg:${PORTSDIR}/graphics/jpeg \
glut:${PORTSDIR}/graphics/libglut
.endif
.if !defined(WITHOUT_X11)
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.C \