tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: multimedia/ffmpeg2 on Mac OSX v10.7.5



On Thu, Feb 26, 2015 at 02:27:57PM +0100, Joerg Sonnenberger wrote:
 > On Thu, Feb 26, 2015 at 09:10:11AM +0000, Jonathan Perkin wrote:
 > > You can't rely on any environment variables to do this as packages are
 > > free to ignore them (and frequently do).
 > 
 > They are not free to ignore them, but a lot of crappy software does.
 > That's a difference :)

eh. Traditionally packages MUST explicitly set CC and CFLAGS (and
LDFLAGS and so on) themselves to avoid inheriting baloney from the
default values supplied by make, because on a lot of vendor systems
those default values were rubbish. So most packages with sane build
systems will *not* honor random environment settings.

autotools build systems honor (an arbitrary and unpredictable set of)
variables set in the environment of the configure script, but don't
honor them at build time. Since pkgsrc takes care to pass its CFLAGS
and LDFLAGS to autoconf configure scripts, some such packages will
honor these, but IME not always.

The result of this is that usually one needs to patch the build
system.

-- 
David A. Holland
dholland%netbsd.org@localhost


Home | Main Index | Thread Index | Old Index