rPackages: fix broken packages

This commit is contained in:
Nikolay Amiantov
2015-02-19 23:53:36 +03:00
parent 3e6531c174
commit 8450ff3ab8
4 changed files with 77 additions and 80 deletions

View File

@@ -0,0 +1,13 @@
diff -ru3 RMySQL_orig/configure RMySQL/configure
--- RMySQL_orig/configure 2015-02-19 22:49:15.812455730 +0300
+++ RMySQL/configure 2015-02-19 22:49:42.066407256 +0300
@@ -1,7 +1,7 @@
# If $MYSQL_DIR is specified, use that
if [ "$MYSQL_DIR" ]; then
- echo "PKG_CPPFLAGS= -I$MYSQL_DIR/include" > src/Makevars
- echo "PKG_LIBS= -L$MYSQL_DIR/lib -lmysqlclient -lz" >> src/Makevars
+ echo "PKG_CPPFLAGS= -I$MYSQL_DIR/include/mysql" > src/Makevars
+ echo "PKG_LIBS= -L$MYSQL_DIR/lib/mysql -lmysqlclient -lz" >> src/Makevars
exit 0
fi