Date: Tue, 13 Sep 2011 11:12:21 +0400 From: Lev Serebryakov <lev@FreeBSD.org> To: ports@FreeBSD.org Cc: Doug Barton <dougb@FreeBSD.org>, gerald@FreeBSD.org Subject: USE_GCC and unnesessary RUN_DENEDS on gcc port (Was: Print +REQUIRED_BY as tree?) Message-ID: <1859284079.20110913111221@serebryakov.spb.ru> In-Reply-To: <801150301.20110913110114@serebryakov.spb.ru> References: <503309410.20110912205856@serebryakov.spb.ru> <CA940116.21806%freebsdlists-ports@chillibear.com> <865325899.20110912230621@serebryakov.spb.ru> <4E6E60C7.90304@FreeBSD.org> <181642832.20110912235833@serebryakov.spb.ru> <4E6E6607.2030104@FreeBSD.org> <801150301.20110913110114@serebryakov.spb.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <lev@FreeBSD.org>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1859284079.20110913111221>