From owner-freebsd-ports@freebsd.org Fri Aug 12 12:24:10 2016 Return-Path: Delivered-To: freebsd-ports@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 2ABD5BB6428 for ; Fri, 12 Aug 2016 12:24:10 +0000 (UTC) (envelope-from howard0su@gmail.com) Received: from mail-ua0-x22f.google.com (mail-ua0-x22f.google.com [IPv6:2607:f8b0:400c:c08::22f]) (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 D9AB411C1; Fri, 12 Aug 2016 12:24:09 +0000 (UTC) (envelope-from howard0su@gmail.com) Received: by mail-ua0-x22f.google.com with SMTP id 97so38870154uav.3; Fri, 12 Aug 2016 05:24:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=jdYDuz/COEQe287lRQ1z4GRX+5kZ3lynoxQkZ6uxs6s=; b=yHRnVY0HxxbBB1P0N4H0ccD4Mqi+5D4ThroBfNPO60EKDfh9fbv++d6XQruE0t4c2W LTpZ7FKb82OEJ7QC6PblxizDWcYF+MBcwCX6pkMMtnBYU69MCBXh1Ehfge5Db/1EfNRx B4QBeVfo+g1r26r/hLrskBf6S7BZKfexseEXC7y1pfm/1nguDYG5tkAk80K4MyCegobT 8QNoQTi52YElvVbR8l/vp+QuU92Cd6BsiJmaPWmYQqd1FK24LR7dus2KdNFV1fROrerS N7+s456ASBLKOz0ZVu2zNS7a3kpS8QsS29/stN4h8tP39Rn58IgX1Ql+oahEDKRjCYoo JfqQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=jdYDuz/COEQe287lRQ1z4GRX+5kZ3lynoxQkZ6uxs6s=; b=avSMNjNYokovOsiM/Xj6oCckKth0vaYEACi2C3WuxsGCGTKYO79DJSpHX8VQn2OP71 WLrflUwRJxlQS3MmPWJPD7wn79QdLtLiR/FdOdf3s7MGcFNB1TweF37Qpa4D10kemgy0 ltpA9pIaX5U1MFDzIAQQ4v9ojBIE2w2iExPDWydAHQtISaREjaZtod1JRJ6XcRDdSXUw L24mdx0bsAx4gwVkJ5hPyO+E0o+XbxXHTi7bhwIQJFj+q4n5/HCiVkp58NvvIbOOxXBw Ypy5pKYxSPn0V6th1NCAPt/PEaNZwGS3ISFAcBYyLc8zTvV8mZtadoZrvqCT3yKHQB/y 25tQ== X-Gm-Message-State: AEkooutjNSINnDOuXln7NpbsdLfEuyKjGOcvScXR6jWy7De1SbPBPiFU54uC/+TU6QMiEYVsx/fUHev2vGPNjA== X-Received: by 10.176.2.210 with SMTP id 76mr7430139uah.5.1471004648729; Fri, 12 Aug 2016 05:24:08 -0700 (PDT) MIME-Version: 1.0 References: <916fb65b-4bea-0374-8f58-98af8f56ea20@FreeBSD.org> In-Reply-To: <916fb65b-4bea-0374-8f58-98af8f56ea20@FreeBSD.org> From: Howard Su Date: Fri, 12 Aug 2016 12:23:58 +0000 Message-ID: Subject: Re: Why USE_GCC cause RUN_DEPEND on GCC To: koobs@freebsd.org, freebsd-ports@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.22 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Aug 2016 12:24:10 -0000 Thank you, I will check it out. On Fri, Aug 12, 2016 at 8:20 PM Kubilay Kocak wrote: > On 12/08/2016 10:14 PM, Howard Su wrote: > > When I installing vnc, I noticed it depends on GCC which I don't think it > > make sense. > > > > I dig bsd.gcc.mk and notice the following lines, why do we force run > > depends on gcc while the software just use it to build? > > > > .if defined(_GCC_PORT_DEPENDS) > > BUILD_DEPENDS+= ${_GCC_PORT_DEPENDS}:lang/${_GCC_PORT} > > RUN_DEPENDS+= ${_GCC_PORT_DEPENDS}:lang/${_GCC_PORT} > > # Later GCC ports already depend on binutils; make sure whatever we > > # build leverages this as well. > > USE_BINUTILS= yes > > .endif > > .endif # defined(_USE_GCC) && !defined(FORCE_BASE_CC_FOR_TESTING) > > > > Hi Howard > > This is a work in progress, and has been requested. See: > > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=211079 > > Which depends on: > > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=211154 > > -- -Howard