LDFLAGS support for bsd.port.mk and CPPFLAGS/LDFLAGS cleanup

h h aakuusta at gmail.com
Sun Sep 25 14:40:37 UTC 2011


Lev Serebryakov <lev at FreeBSD.org> writes:

> Hello, Dmitry.
> You wrote 24 сентября 2011 г., 3:36:14:
>
>> The patch was committed, LDFLAGS and CPPFLAGS and now handled
>> similarily, shouldn't be passed to CONFIGURE_ENV and should be
>> altered by += like C/CXXFLAGS.
>
>  devel/dbus could not be built with this commit, too:
>
> checking for pkg-config... (cached) /usr/local/bin/pkg-config
> checking pkg-config is at least version 0.9.0... yes
> checking for XML_ParserCreate_MM in -lexpat... no
> configure: error: Could not find expat.h, check config.log for failed attempts
> ===>  Script "configure" failed unexpectedly.
>
>  It seems, that every port, which rely on `pkg-config' to determine
> libraries configuration, will fail.

I see this, too. Turns out my cvsup mirror is broken. It doesn't have
LDFLAGS commit r1.696 for ports/Mk/bsd.port.mk,v while it has r1.86 for
ports/devel/dbus/Makefile,v. After using different mirror the issue is
gone away.


More information about the freebsd-ports mailing list