r4684 - trunk/BOOK/general/graphlib

tushar at linuxfromscratch.org tushar at linuxfromscratch.org
Thu Jul 7 07:43:03 PDT 2005


Author: tushar
Date: 2005-07-07 08:43:02 -0600 (Thu, 07 Jul 2005)
New Revision: 4684

Modified:
   trunk/BOOK/general/graphlib/libpng.xml
Log:
Simplify libpng installation

Modified: trunk/BOOK/general/graphlib/libpng.xml
===================================================================
--- trunk/BOOK/general/graphlib/libpng.xml	2005-07-07 14:29:34 UTC (rev 4683)
+++ trunk/BOOK/general/graphlib/libpng.xml	2005-07-07 14:43:02 UTC (rev 4684)
@@ -72,8 +72,8 @@
     commands:</para>
 
 <screen><userinput>patch -Np1 -i ../libpng-&libpng-version;-link_to_proper_libs-1.patch &&
-make prefix=/usr ZLIBINC=/usr/include \
-    ZLIBLIB=/usr/lib -f scripts/makefile.linux</userinput></screen>
+make prefix=/usr ZLIBINC= \
+    ZLIBLIB= -f scripts/makefile.linux</userinput></screen>
 
     <para>To test the results, issue: <command>make -f scripts/makefile.linux test</command>.</para>
 
@@ -86,10 +86,11 @@
   <sect2 role="commands">
     <title>Command Explanations</title>
 
-    <para><parameter>ZLIBINC=/usr/include ZLIBLIB=/usr/lib</parameter>: This
+    <para><parameter>ZLIBINC= ZLIBLIB=</parameter>: This
     forces <application>libpng</application> to look for the
-    <application>zlib</application> includes and libraries where they are
-    installed.</para>
+    <application>zlib</application> includes and libraries in the default locations
+	(<filename>/usr/include</filename> and <filename>/usr/lib</filename>
+    respectively).</para>
 
     <para><parameter>-f scripts/makefile.linux</parameter>: This points
     <command>make</command> at the <application>Linux</application> version of the




More information about the blfs-book mailing list