From owner-svn-ports-head@freebsd.org Tue Jan 16 17:24:55 2018 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0B2E9E7C57D; Tue, 16 Jan 2018 17:24:55 +0000 (UTC) (envelope-from ler@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D1BEB83F4E; Tue, 16 Jan 2018 17:24:54 +0000 (UTC) (envelope-from ler@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 01EB4236ED; Tue, 16 Jan 2018 17:24:54 +0000 (UTC) (envelope-from ler@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w0GHOrgg076807; Tue, 16 Jan 2018 17:24:53 GMT (envelope-from ler@FreeBSD.org) Received: (from ler@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w0GHOrSd076806; Tue, 16 Jan 2018 17:24:53 GMT (envelope-from ler@FreeBSD.org) Message-Id: <201801161724.w0GHOrSd076806@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: ler set sender to ler@FreeBSD.org using -f From: Larry Rosenman Date: Tue, 16 Jan 2018 17:24:53 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r459197 - head/net/boinc-client X-SVN-Group: ports-head X-SVN-Commit-Author: ler X-SVN-Commit-Paths: head/net/boinc-client X-SVN-Commit-Revision: 459197 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Jan 2018 17:24:55 -0000 Author: ler Date: Tue Jan 16 17:24:53 2018 New Revision: 459197 URL: https://svnweb.freebsd.org/changeset/ports/459197 Log: net/boinc-client: don't look for X11 libraries when X11 is not set PR: 225220 Submitted by: freebsd-bugzilla@in-addr.com Modified: head/net/boinc-client/Makefile Modified: head/net/boinc-client/Makefile ============================================================================== --- head/net/boinc-client/Makefile Tue Jan 16 17:13:40 2018 (r459196) +++ head/net/boinc-client/Makefile Tue Jan 16 17:24:53 2018 (r459197) @@ -4,7 +4,7 @@ PORTNAME= boinc-client PORTVERSION= 7.8.6 DISTVERSIONPREFIX= client_release/7.8/ -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= net MAINTAINER= ler@FreeBSD.org @@ -12,10 +12,7 @@ COMMENT= Berkeley Open Infrastructure for Network Comp LICENSE= LGPL3 -LIB_DEPENDS+= libfreetype.so:print/freetype2 - USES= autoreconf dos2unix gettext gmake libtool pkgconfig ssl tar:xz -USE_XORG+= x11 xscrnsaver INSTALL_TARGET= install-strip GNU_CONFIGURE= yes USE_GITHUB= yes @@ -67,7 +64,8 @@ MANAGER_CONFIGURE_ENABLE=manager MANAGER_USE= XORG=x11,xext,xscrnsaver WX=2.8 CLIENT_CONFIGURE_ENABLE=client -CLIENT_LIB_DEPENDS= libcurl.so:ftp/curl +CLIENT_LIB_DEPENDS= libcurl.so:ftp/curl \ + libfreetype.so:print/freetype2 CLIENT_RUN_DEPENDS= ${LOCALBASE}/share/certs/ca-root-nss.crt:security/ca_root_nss CLIENT_USE= RC_SUBR=boinc-client @@ -76,6 +74,7 @@ LINUX_USES= linux X11_USES= jpeg X11_USE= GL=glut XORG=xmu,xi +X11_USE_XORG+= x11 xscrnsaver X11_CONFIGURE_OFF= ax_cv_check_glut_libglut=no .include @@ -85,6 +84,7 @@ WX_CONF_ARGS= absolute SUB_LIST+= OPTION_MANAGER="true" .else SUB_LIST+= OPTION_MANAGER="" +CONFIGURE_ARGS+= --disable-manager .endif .if ${PORT_OPTIONS:MCLIENT} @@ -98,6 +98,10 @@ SUB_LIST+= OPTION_USER="true" SUB_LIST+= OPTION_USER="" .endif +.if ${PORT_OPTIONS:NX11} +CONFIGURE_ARGS+= --without-x +.endif + post-patch: @${REINPLACE_CMD} -e 's|@PREFIX@|${PREFIX}|' \ ${WRKSRC}/client/hostinfo_unix.cpp @@ -116,6 +120,9 @@ post-patch: ${WRKSRC}/zip/zip/z_fileio.c ${WRKSRC}/zip/zip/z_globals.c \ ${WRKSRC}/zip/zip/zip.c ${WRKSRC}/zip/zip/zipfile.c \ ${WRKSRC}/zip/zip/zipup.c +.if ${PORT_OPTIONS:NX11} + @${REINPLACE_CMD} -e 's|enable_xss="yes"|enable_xss="no"|' ${WRKSRC}/configure.ac +.endif post-install: .for name in config.h project_specific_defines.h api/reduce.h \