From owner-svn-ports-all@freebsd.org Tue Dec 10 20:55:23 2019 Return-Path: Delivered-To: svn-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 755CE1E43D6; Tue, 10 Dec 2019 20:55:23 +0000 (UTC) (envelope-from thierry@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47XXQ32ZxMz4Fs7; Tue, 10 Dec 2019 20:55:23 +0000 (UTC) (envelope-from thierry@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 4FB108A0; Tue, 10 Dec 2019 20:55:23 +0000 (UTC) (envelope-from thierry@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id xBAKtN1b039922; Tue, 10 Dec 2019 20:55:23 GMT (envelope-from thierry@FreeBSD.org) Received: (from thierry@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id xBAKtNAa039921; Tue, 10 Dec 2019 20:55:23 GMT (envelope-from thierry@FreeBSD.org) Message-Id: <201912102055.xBAKtNAa039921@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: thierry set sender to thierry@FreeBSD.org using -f From: Thierry Thomas Date: Tue, 10 Dec 2019 20:55:23 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r519778 - head/graphics/cimg X-SVN-Group: ports-head X-SVN-Commit-Author: thierry X-SVN-Commit-Paths: head/graphics/cimg X-SVN-Commit-Revision: 519778 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Dec 2019 20:55:23 -0000 Author: thierry Date: Tue Dec 10 20:55:22 2019 New Revision: 519778 URL: https://svnweb.freebsd.org/changeset/ports/519778 Log: Do not build anything without DOC/EXAMPLE selected. PR: 242158 Reported by: sdalu (at) sdalu.com Modified: head/graphics/cimg/Makefile Modified: head/graphics/cimg/Makefile ============================================================================== --- head/graphics/cimg/Makefile Tue Dec 10 20:50:33 2019 (r519777) +++ head/graphics/cimg/Makefile Tue Dec 10 20:55:22 2019 (r519778) @@ -23,16 +23,6 @@ USE_GITHUB= yes GH_ACCOUNT= dtschump GH_PROJECT= CImg -USES= compiler:c11 xorg - -.if !defined(WITHOUT_LAPACK) -. if defined(WITH_ATLAS) -USES+= blaslapack:atlas -. else -USES+= blaslapack -. endif -.endif - BUILD_WRKSRC= ${WRKSRC}/examples OPTIONS_DEFINE= DOCS EXAMPLES @@ -40,10 +30,19 @@ OPTIONS_DEFINE= DOCS EXAMPLES .include .if ${PORT_OPTIONS:MDOCS} || ${PORT_OPTIONS:MEXAMPLES} -USES+= gmake pkgconfig:build +USES+= compiler:c11 gmake pkgconfig:build xorg .endif .if ${PORT_OPTIONS:MDOCS} + +.if !defined(WITHOUT_LAPACK) +. if defined(WITH_ATLAS) +USES+= blaslapack:atlas +. else +USES+= blaslapack +. endif +.endif + REINPLACE_ARGS= -i "" LIB_DEPENDS+= libboard.so:graphics/libboard