Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Oct 2013 19:36:31 +0100
From:      Pawel Pekala <pawel@FreeBSD.org>
To:        Gerald Pfeifer <gerald@pfeifer.com>
Cc:        svn-ports-head@freebsd.org, svn-ports-all@freebsd.org, ports-committers@freebsd.org
Subject:   Re: svn commit: r331739 - in head/multimedia/bombono: . files
Message-ID:  <20131027193631.12f6a410@FreeBSD.org>
In-Reply-To: <alpine.LNX.2.00.1310271914030.1528@trevally.site>
References:  <201310262208.r9QM8pIq066948@svn.freebsd.org> <alpine.LNX.2.00.1310271914030.1528@trevally.site>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

On 2013-10-27 19:16 +0100, Gerald Pfeifer <gerald@pfeifer.com> wrote:
>Hi Pawel,
>
>On Sat, 26 Oct 2013, Pawel Pekala wrote:
>> +MAKE_ARGS=3D	DVDREAD_INCLUDE=3D${LOCALBASE}/include \
>> +		DVDREAD_LIBPATH=3D${LOCALBASE}/lib \
>> +		CXXFLAGS=3D"${CXXFLAGS}" LDFLAGS=3D"${LDFLAGS}" \
>> +		CC=3D"${CC}" CXX=3D"${CXX}"
>
>
>why are you doing this?  CXXFLAGS, LDFLAGS, CC and CXX all should
>be set by default already.
>
>Checkout the following in Mk/bsd.port.mk
>
>  MAKE_ENV+=3D PREFIX=3D${PREFIX} \
>             LOCALBASE=3D${LOCALBASE} \
>             LIBDIR=3D"${LIBDIR}" \
>             CC=3D"${CC}" CFLAGS=3D"${CFLAGS}" \
>             CPP=3D"${CPP}" CPPFLAGS=3D"${CPPFLAGS}" \
>             LDFLAGS=3D"${LDFLAGS}" \
>             CXX=3D"${CXX}" CXXFLAGS=3D"${CXXFLAGS}" \
>             MANPREFIX=3D"${MANPREFIX}"

For some reason SConstruct scripts ignores environment, when MAKE_ARGS
is not set it gives me this configuration (resulting config.opts):

# Compiler information
CC =3D 'cc'
CXX =3D 'c++'
CPPFLAGS =3D ''
CFLAGS =3D ''
CXXFLAGS =3D ''
LDFLAGS =3D ''

and everything breaks...

--=20
pozdrawiam / with regards
Pawe=B3 P=EAkala



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20131027193631.12f6a410>