LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File graphviz-plugins-fix_install_dirs.patch of Package graphviz-plugins (Project graphics)

---
 configure    |    6 +++---
 configure.ac |    4 ++--
 2 files changed, 5 insertions(+), 5 deletions(-)

Index: configure
===================================================================
--- configure.orig	2013-09-07 03:11:08.000000000 +0200
+++ configure	2013-09-09 13:52:31.087729979 +0200
@@ -22284,8 +22284,8 @@ done
         else
           PHP_INCLUDES="-I/usr/include/php -I/usr/include/php/main -I/usr/include/php/Zend -I/usr/include/php/TSRM"
         fi
-        PHP_INSTALL_DIR="/usr/lib${LIBPOSTFIX}/php/modules"
-        PHP_INSTALL_DATADIR="/usr/share/php"
+        PHP_INSTALL_DIR="/usr/lib${LIBPOSTFIX}/php5/extensions"
+        PHP_INSTALL_DATADIR="/usr/share/php5"
         PHP_LIBS=
         save_CPPFLAGS=$CPPFLAGS
         CPPFLAGS="$CPPFLAGS $PHP_INCLUDES"
@@ -23844,7 +23844,7 @@ $as_echo "using $TCLCONFIG" >&6; }
 $as_echo "$as_me: WARNING: Unable to find tclConfig.sh. The Tcl packages will not be built" >&2;}
     use_tcl="No (missing tclConfig.sh)"
   fi
-  TCL_INSTALL_DIR="${TCLSH_EXEC_PREFIX}/lib${LIBPOSTFIX}/tcl${TCL_VERSION_FOUND}"
+  TCL_INSTALL_DIR="${TCLSH_EXEC_PREFIX}/lib${LIBPOSTFIX}
 fi
 
 if test "x$use_tcl" = "x"; then
Index: configure.ac
===================================================================
--- configure.ac.orig	2013-09-07 03:07:52.000000000 +0200
+++ configure.ac	2013-09-09 13:51:37.757974780 +0200
@@ -1100,8 +1100,8 @@ else
         else
           PHP_INCLUDES="-I/usr/include/php -I/usr/include/php/main -I/usr/include/php/Zend -I/usr/include/php/TSRM"
         fi
-        PHP_INSTALL_DIR="/usr/lib${LIBPOSTFIX}/php/modules"
-        PHP_INSTALL_DATADIR="/usr/share/php"
+        PHP_INSTALL_DIR="/usr/lib${LIBPOSTFIX}/php5/extensions"
+        PHP_INSTALL_DATADIR="/usr/share/php5"
         PHP_LIBS=
         save_CPPFLAGS=$CPPFLAGS
         CPPFLAGS="$CPPFLAGS $PHP_INCLUDES"