From owner-freebsd-ports@FreeBSD.ORG Tue Sep 13 07:12:30 2011 Return-Path: Delivered-To: ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E66A6106564A; Tue, 13 Sep 2011 07:12:30 +0000 (UTC) (envelope-from lev@FreeBSD.org) Received: from onlyone.friendlyhosting.spb.ru (onlyone.friendlyhosting.spb.ru [IPv6:2a01:4f8:131:60a2::2]) by mx1.freebsd.org (Postfix) with ESMTP id A88DC8FC17; Tue, 13 Sep 2011 07:12:30 +0000 (UTC) Received: from lion.home.serebryakov.spb.ru (unknown [IPv6:2001:470:923f:1:2d7d:e6bb:877a:7b03]) (Authenticated sender: lev@serebryakov.spb.ru) by onlyone.friendlyhosting.spb.ru (Postfix) with ESMTPA id 6C9BB4AC1C; Tue, 13 Sep 2011 11:12:29 +0400 (MSD) Date: Tue, 13 Sep 2011 11:12:21 +0400 From: Lev Serebryakov Organization: FreeBSD X-Priority: 3 (Normal) Message-ID: <1859284079.20110913111221@serebryakov.spb.ru> To: ports@FreeBSD.org In-Reply-To: <801150301.20110913110114@serebryakov.spb.ru> References: <503309410.20110912205856@serebryakov.spb.ru> <865325899.20110912230621@serebryakov.spb.ru> <4E6E60C7.90304@FreeBSD.org> <181642832.20110912235833@serebryakov.spb.ru> <4E6E6607.2030104@FreeBSD.org> <801150301.20110913110114@serebryakov.spb.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=windows-1251 Content-Transfer-Encoding: quoted-printable Cc: Doug Barton , gerald@FreeBSD.org Subject: USE_GCC and unnesessary RUN_DENEDS on gcc port (Was: Print +REQUIRED_BY as tree?) X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: lev@FreeBSD.org List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Sep 2011 07:12:31 -0000 Hello, Lev. You wrote 13 =F1=E5=ED=F2=FF=E1=F0=FF 2011 =E3., 11:01:14: > For example, x264 DEPENDS on gcc, (has USE_GCC=3D4.4+ in Makefile), > but no x264 files are linked with libgcc_s.so or other libraries from > gcc44. It seems, that we need separate USE_GCC_BUILD and USE_GCC_RUN, > as with PERL or PYTHON. Or, maybe automate this, as now port system warns user about "possible network servers" -- check all installed binaries and libraries for linkage with non-system-gcc libraries and add "run" dependency. But I'm not sure it is easy to do, as it should be done after installation, when, I afraid, adding RUN_DEPEND at this stage doesn't help, so this automatic should make all depends-related work (+REQUIRED_BY / +CONTENT) "by hands". --=20 // Black Lion AKA Lev Serebryakov