aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYaroslav Tykhiy <ytykhiy@gmail.com>2006-09-22 09:38:20 +0000
committerYaroslav Tykhiy <ytykhiy@gmail.com>2006-09-22 09:38:20 +0000
commitfb5b615a247c050848e33421132b95d72c65769c (patch)
tree239f4e7866c2a3ba199a060aa4a9b54df8492f30
parentc43bd360382ab774fd2cc993c2c3452b0234f83a (diff)
Notes
-rw-r--r--en_US.ISO8859-1/books/porters-handbook/book.sgml11
1 files changed, 11 insertions, 0 deletions
diff --git a/en_US.ISO8859-1/books/porters-handbook/book.sgml b/en_US.ISO8859-1/books/porters-handbook/book.sgml
index f9a5e19eff..e33be9a164 100644
--- a/en_US.ISO8859-1/books/porters-handbook/book.sgml
+++ b/en_US.ISO8859-1/books/porters-handbook/book.sgml
@@ -4635,6 +4635,17 @@ PORTVERSION= 1.0</programlisting>
follows:</para>
<programlisting>USE_GETTEXT= yes
+CPPFLAGS+= -I${LOCALBASE}/include
+LDFLAGS+= -L${LOCALBASE}/lib
+
+GNU_CONFIGURE= yes
+CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" \
+ LDFLAGS="${LDFLAGS}"</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>