[-]
[+]
|
Changed |
ipv6_functions_mysql.spec
|
|
[-]
[+]
|
Changed |
mysql-udf-ipv6-makefile.patch
^
|
@@ -1,12 +1,12 @@
--- Makefile.orig 2009-12-20 12:54:41.000000000 +0100
-+++ Makefile 2009-12-20 13:20:51.000000000 +0100
++++ Makefile 2011-02-23 14:48:53.142422100 +0100
@@ -4,13 +4,15 @@
# pre 5.0.67
#LIBDIR=/usr/local/lib/
# post 5.0.67
-LIBDIR=/usr/lib/mysql/plugin/
+LIBDIR:=/usr/lib
-+PLUGINDIR=$(LIBDIR)/mysql/
++PLUGINDIR=$(LIBDIR)/mysql/plugin/
mysql_udf_ipv6.so: $(SRC)
gcc -O2 $(INC) -shared -o $(OBJ) -fPIC $(SRC)
@@ -14,7 +14,7 @@
install:
- cp -f $(OBJ) $(LIBDIR)
+ mkdir -p $(DESTDIR)$(LIBDIR)
-+ cp -f $(OBJ) $(DESTDIR)$(LIBDIR)
++ cp -f $(OBJ) $(DESTDIR)$(PLUGINDIR)
clean:
rm *.so
|