USE_GCC and unnesessary RUN_DENEDS on gcc port (Was: Print
+REQUIRED_BY as tree?)
Lev Serebryakov
lev at FreeBSD.org
Tue Sep 13 07:12:31 UTC 2011
Hello, Lev.
You wrote 13 сентября 2011 г., 11:01:14:
> For example, x264 DEPENDS on gcc, (has USE_GCC=4.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".
--
// Black Lion AKA Lev Serebryakov <lev at FreeBSD.org>
More information about the freebsd-ports
mailing list