nixpkgs/pkgs/development/r-modules/patches/RMySQL.patch
2015-02-19 23:53:36 +03:00

13 lines
541 B
Diff

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