From owner-svn-ports-all@freebsd.org Mon Apr 23 16:05:11 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 35F79FA5824 for ; Mon, 23 Apr 2018 16:05:11 +0000 (UTC) (envelope-from jrm@ftfl.ca) Received: from mail-qk0-f175.google.com (mail-qk0-f175.google.com [209.85.220.175]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id BE8047FA74 for ; Mon, 23 Apr 2018 16:05:10 +0000 (UTC) (envelope-from jrm@ftfl.ca) Received: by mail-qk0-f175.google.com with SMTP id v2so16658471qkh.10 for ; Mon, 23 Apr 2018 09:05:10 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=O6aWWt8EiU/w2yf4/Q6rj8jKHwfIZwZO5gq0hAP9n34=; b=Ej7msnl7cHORwUqvmKHivc36z5od2777xXlfclFaDIzoKZOAScdIlDaziA4P1EnsZz QTq37rHidd4i4zQkigKwdUKZfMPkZBZ8IQEsr+CR+QX3yalAbCnGYnGlAyljpb8iLqlJ JXbAJfEdwpf8ST4ZSDMSz3Ck+G05hEIlQB0Zb0Gmujyey24a3ppxsZrnGfFOadg9K6Zw tm9ncP+I5/vy4sE2qyzSSR0Yc8k1N5MB5Q/4ED7FqLM97hI/utqV8x+3IBnHJKz53eeo /Hh650ckFN0AoTqUH1FAB8dWSMcJI3FvILkNhZ29alHlaSAObojRTqDxTx+AWQRdTiz2 /lFA== X-Gm-Message-State: ALQs6tBegP5HvqEYM17/oj++EngwE98rjpgiFNDQwKJUTtMVTftTJNba 32kFKO1EbPwyUW7RxZ3gW90z4w== X-Google-Smtp-Source: AIpwx4+S0aiRLu7IC6n/Mnsw5qcFnGiDE/tBnuHVzyF0/IdiI/zTRFLEc64uU7tdT+i/SnjjJ/hhRQ== X-Received: by 10.55.120.68 with SMTP id t65mr23847649qkc.56.1524499503918; Mon, 23 Apr 2018 09:05:03 -0700 (PDT) Received: from phe.ftfl.ca.ftfl.ca (hlfxns017vw-142-68-132-248.dhcp-dynamic.fibreop.ns.bellaliant.net. [142.68.132.248]) by smtp.gmail.com with ESMTPSA id 6sm9188466qkj.55.2018.04.23.09.05.02 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 23 Apr 2018 09:05:03 -0700 (PDT) From: Joseph Mingrone To: Yuri Cc: Mathieu Arnold , ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: Re: svn commit: r468086 - in head/math: . piranha References: <201804230903.w3N93LhK062379@repo.freebsd.org> <20180423123756.fvitgl3rll4yikeq@ogg.in.absolight.net> Date: Mon, 23 Apr 2018 13:05:01 -0300 In-Reply-To: (Yuri's message of "Mon, 23 Apr 2018 08:44:15 -0700") Message-ID: <86k1sx9adu.fsf@phe.ftfl.ca> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (berkeley-unix) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.25 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: Mon, 23 Apr 2018 16:05:11 -0000 --=-=-= Content-Type: text/plain Yuri writes: > On 04/23/18 05:37, Mathieu Arnold wrote: >> Unless this really needs cmake and ninja to run, please reverse the way >> you create the BUILD_DEPENDS and RUN_DEPENDS variables. You may have >> noticed many ports do BUILD_DEPENDS=${RUN_DEPENDS} and RUN_DEPENDS=blah. > The way how they defined the build, it does involve cmake. cmake isn't "really needed" because cmake doesn't really build anything, but it does install it. It is also needed for the 'test' target. > You prefer it the way around, "BUILD_DEPENDS=${RUN_DEPENDS} and RUN_DEPENDS=blah"? But doesn't it end up being the same? > Yuri Hello Yuri, USES=cmake:outsource adds to BUILD_DEPENDS, so when you set RUN_DEPENDS to BUILD_DEPENDS, you add unwanted ports to RUN_DEPENDS. Current port: % make -VRUN_DEPENDS /usr/local/include/boost/numeric/conversion/cast.hpp:devel/boost-libs /usr/local/include/gmp.h:math/gmp /usr/local/include/mpfr.h:math/mpfr /usr/local/bin/cmake:devel/cmake ninja:devel/ninja With: BUILD_DEPENDS= ${RUN_DEPENDS} RUN_DEPENDS= ${LOCALBASE}/include/boost/numeric/conversion/cast.hpp:devel/boost-libs \ ${LOCALBASE}/include/gmp.h:math/gmp \ ${LOCALBASE}/include/mpfr.h:math/mpfr % make -VRUN_DEPENDS /usr/local/include/boost/numeric/conversion/cast.hpp:devel/boost-libs /usr/local/include/gmp.h:math/gmp /usr/local/include/mpfr.h:math/mpfr J. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKTBAEBCgB9FiEEVbCTpybDiFVxIrrVNqQMg7DW754FAlreBC1fFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDU1 QjA5M0E3MjZDMzg4NTU3MTIyQkFENTM2QTQwQzgzQjBENkVGOUUACgkQNqQMg7DW 757NtxAAmxQZZt2UQeiOJESqapoh1iLjnBPW2wxZoOKdE+rq3m5QjSDRgWG6FODw n0Dum45hmFS9AKeQULvZH01PzHF8jKedds6MCaR5YYFb6Tg+6Zn5Ruo0E4NWHhvZ GDiFZ5/IzBLDJM5bnP9YtOWgehWTnRjokNyxcKgLpXEb2hCTXILtag+dFSOaYOdC BXy79QP0qcrh3uDzMfx8t+bC5S7ugjeB4YlDkhDBdyBJROKAzwl+83L0CSlHzcPc cM9a7HJyvubUxWCTHQNx6rXlTgofMc1cNmR39lYcDdg/9xJnRvMvJV68iTfMsSae gbT38UgEBvvIYKnmWU4MhClmgHhTb/ijCJeLXvKzJ+UbkzwSWnNkmJci50QXyT90 dNyABXdsB1u5T0ia8OBqbm6fcRsN61yLpfjOFYDui+jMRT1PjgHblQh+j+fywHi8 rkcZImJKalffBt9qHfJQf3xXricQb9LwXnyFdTKrASCjDzUPu/irluTY1ilm+JDp S+vSfauegm166Bk8LfjGgJ/pCfVct0jNOKDXT8EyjP9nN6t0Ywr2EzEX7ZMdW2kx pVbtRHxu27IWcNit/dOnbyEXN1USqdOMUg5TRB+prrkZJBT9RGTpLmgzd+E3dx9D 4CpHSPrETE+mPMuzSkucVM6I/KpFYC6/2nsVQ7op3AGGUc0mNNk= =o2nk -----END PGP SIGNATURE----- --=-=-=--