File librecad-no_packagesexist.patch of Package LibreCAD2

diff -U 3 -H -d -r -N -- a/librecad/src/muparser.pri b/librecad/src/muparser.pri
--- a/librecad/src/muparser.pri	2011-08-14 07:28:00.000000000 +0200
+++ b/librecad/src/muparser.pri	2011-08-15 11:47:16.000000000 +0200
@@ -1,11 +1,5 @@
 
-macx|win32|equals(build_muparser, "true")|!packagesExist(muparser){
-    message("Using bundled muparser")
-    LIBS += ../../generated/lib/libmuparser.a
-    DEPENDPATH += ../../libraries/muparser/src
-}else{
     message("Using external muparser")
     CONFIG += link_pkgconfig
     PKGCONFIG += muparser
-}
 
diff -U 3 -H -d -r -N -- a/tools/tools.pro b/tools/tools.pro
--- a/tools/tools.pro	2011-08-14 07:28:00.000000000 +0200
+++ b/tools/tools.pro	2011-08-15 11:47:16.000000000 +0200
@@ -9,11 +9,7 @@
 TEMPLATE = subdirs
 
 unix {
-    packagesExist(freetype2){
 	SUBDIRS = ttf2lff
-    } else{
-        message( "package freetype2 is not found. Ignoring ttf2lff")
-    }
 }
 
 win32 {
openSUSE Build Service is sponsored by