Author: randy
Date: Sun Feb 10 13:48:21 2013
New Revision: 11011

Log:
Changed the way Inkscape discovers XORG to be consistent with other packages

Modified:
   trunk/BOOK/xsoft/other/inkscape.xml

Modified: trunk/BOOK/xsoft/other/inkscape.xml
==============================================================================
--- trunk/BOOK/xsoft/other/inkscape.xml Sun Feb 10 12:46:59 2013        (r11010)
+++ trunk/BOOK/xsoft/other/inkscape.xml Sun Feb 10 13:48:21 2013        (r11011)
@@ -112,17 +112,11 @@
   <sect2 role="installation">
     <title>Installation of Inkscape</title>
 
-    <note>
-      <para>
-        If you installed <application>Xorg</application> into any prefix other
-        than <filename class="directory">/usr</filename>, the build will fail.
-        Fix this by ensuring the <envar>XORG_PREFIX</envar> variable is
-        properly set and issuing the following command:
-      </para>
+    <para>If you installed <application>Xorg</application> in a prefix other
+    than <filename class='directory'>/usr</filename>, the build will fail. Fix
+    this by issuing the following command:</para>
 
-<screen><userinput>sed -i "s|LDFLAGS = @LDFLAGS@|&amp; -L${XORG_PREFIX}/lib|" \
-       src/Makefile.in</userinput></screen>
-    </note>
+<screen><userinput>export LIBRARY_PATH=$XORG_PREFIX/lib</userinput></screen>
 
     <para>
       Install <application>Inkscape</application> by running the following
@@ -130,7 +124,8 @@
     </para>
 
 <screen><userinput>./configure --prefix=/usr &amp;&amp;
-make</userinput></screen>
+make &amp;&amp;
+unset LIBRARY_PATH</userinput></screen>
 
     <para>
       To test the results, issue: <command>make check</command>.
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to