Using CONFIGURE_ENV for CPPFLAGS and

LDFLAGS is not needed since r282433.

PR:		docs/174827
Submitted by:	Dominique Goncalves <dominique.goncalves@gmail.com>
Reviewed by:	crees
Reviewed by:	amdmi3
This commit is contained in:
Eitan Adler 2013-02-23 14:49:59 +00:00
parent c9558a9195
commit a212cc6dcd
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=41035

View file

@ -5726,17 +5726,13 @@ IGNORE= may not be redistributed because of licensing reasons. Please visit <rep
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" \
LDFLAGS="${LDFLAGS}"</programlisting>
GNU_CONFIGURE= yes</programlisting>
<para>Of course, the code can be more compact if there are no
more flags to pass to <command>configure</command>:</para>
<programlisting>USE_GETTEXT= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"</programlisting>
GNU_CONFIGURE= yes</programlisting>
</sect2>
<sect2>