[blfs-book] r11011 - trunk/BOOK/xsoft/other

randy at higgs.linuxfromscratch.org randy at higgs.linuxfromscratch.org
Sun Feb 10 13:48:21 PST 2013


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@|& -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 &&
-make</userinput></screen>
+make &&
+unset LIBRARY_PATH</userinput></screen>
 
     <para>
       To test the results, issue: <command>make check</command>.



More information about the blfs-book mailing list