freetype-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[freetype2] GSoC-2019-moazin 254a175 47/47: For now resort to a simpler


From: Moazin Khatti
Subject: [freetype2] GSoC-2019-moazin 254a175 47/47: For now resort to a simpler regular expresion.
Date: Fri, 26 Jul 2019 10:02:11 -0400 (EDT)

branch: GSoC-2019-moazin
commit 254a1757ebbe77877c9cfbc4e93e0ea09f69cad3
Author: Moazin Khatti <address@hidden>
Commit: Moazin Khatti <address@hidden>

    For now resort to a simpler regular expresion.
    
    We have to remove the system installation of FreeType
    from the includes, the proper way is to write a regular
    expression that removes the whole path. The last one
    is buggy (it can remove other libs along with freetype)
    so for now I am temporarily resorting to this one.
---
 builds/unix/configure.raw | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/builds/unix/configure.raw b/builds/unix/configure.raw
index 4739a14..6b0ec75 100644
--- a/builds/unix/configure.raw
+++ b/builds/unix/configure.raw
@@ -1137,7 +1137,7 @@ elif test "$with_svg" = auto -a "$have_librsvg" = no; then
   ftoption_unset FT_CONFIG_OPTION_SVG
   ftoption_unset FT_CONFIG_OPTION_DEFAULT_SVG
 else
-  LIBRSVG_CFLAGS=$(echo $LIBRSVG_CFLAGS | sed -e 's/-I\(.*\?\)freetype2//g')
+  LIBRSVG_CFLAGS=$(echo $LIBRSVG_CFLAGS | sed -e 's/freetype2//g')
   CFLAGS="$CFLAGS $LIBRSVG_CFLAGS"
   LDFLAGS="$LDFLAGS $LIBRSVG_LIBS"
   COMPILE_SVG_PORT=yes



reply via email to

[Prev in Thread] Current Thread [Next in Thread]