svn commit: r54547 - head/en_US.ISO8859-1/books/porters-handbook/special
Mateusz Piotrowski
0mp at FreeBSD.org
Tue Sep 29 09:59:23 UTC 2020
Author: 0mp
Date: Tue Sep 29 09:59:22 2020
New Revision: 54547
URL: https://svnweb.freebsd.org/changeset/doc/54547
Log:
Suggest the use of USES=localbase to set flags like CFLAGS and LDFLAGS
Modified:
head/en_US.ISO8859-1/books/porters-handbook/special/chapter.xml
Modified: head/en_US.ISO8859-1/books/porters-handbook/special/chapter.xml
==============================================================================
--- head/en_US.ISO8859-1/books/porters-handbook/special/chapter.xml Tue Sep 29 09:36:33 2020 (r54546)
+++ head/en_US.ISO8859-1/books/porters-handbook/special/chapter.xml Tue Sep 29 09:59:22 2020 (r54547)
@@ -1482,13 +1482,10 @@ GNU_CONFIGURE= yes</programlisting>
<para>If it ever fails to, hints at the location of
<literal>gettext</literal> can be passed in
- <envar>CPPFLAGS</envar> and <envar>LDFLAGS</envar> as
- follows:</para>
+ <envar>CPPFLAGS</envar> and <envar>LDFLAGS</envar> using
+ <literal>localbase</literal> as follows:</para>
- <programlisting>USES= gettext
-CPPFLAGS+= -I${LOCALBASE}/include
-LDFLAGS+= -L${LOCALBASE}/lib
-
+ <programlisting>USES= gettext localbase:ldflags
GNU_CONFIGURE= yes</programlisting>
</sect2>
@@ -2037,11 +2034,9 @@ MASTER_SITES= GNOME
MAINTAINER= kwm at FreeBSD.org
COMMENT= Interactive tool for performing search and replace operations
-USES= gettext gmake pathfix pkgconfig tar:xz
+USES= gettext gmake localbase:ldflags pathfix pkgconfig tar:xz
GNU_CONFIGURE= yes
USE_GNOME= gnomeprefix intlhack gtksourceviewmm3
-CPPFLAGS+= -I${LOCALBASE}/include
-LDFLAGS+= -L${LOCALBASE}/lib
INSTALLS_ICONS= yes
GLIB_SCHEMAS= org.regexxer.gschema.xml
More information about the svn-doc-head
mailing list