Search
j0ke.net Open Build Service
>
Projects
>
internetx
:
mysql5
>
ipv6-functions-mysql
> mysql-udf-ipv6-makefile.patch
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File mysql-udf-ipv6-makefile.patch of Package ipv6-functions-mysql (Revision 12)
Currently displaying revision
12
,
show latest
--- Makefile.orig 2018-04-06 08:04:57.502975312 +0200 +++ Makefile 2018-04-06 08:07:01.138975338 +0200 @@ -6,9 +6,10 @@ #PREFIX=/Applications/XAMPP/xamppfiles INCDIR=$(PREFIX)/include -LIBDIR=$(PREFIX)/lib/mysql/plugin +LIBDIR:=$(PREFIX)/lib +PLUGINDIR=$(LIBDIR)/mysql/plugin/ -CFLAGS=-O2 -shared -fPIC -I$(INCDIR) +CFLAGS=-O2 -shared -fPIC -I$(INCDIR) -DMYSQL_DYNAMIC_PLUGIN all: mysql_udf_ipv6.so mysql_udf_idna.so @@ -19,7 +20,8 @@ gcc $(CFLAGS) -lidn -o $@ $+ install: mysql_udf_ipv6.so mysql_udf_idna.so - cp -f $? $(LIBDIR) + mkdir -p $(DESTDIR)$(PLUGINDIR) + cp -f $? $(DESTDIR)$(PLUGINDIR) uninstall: mysql_udf_ipv6.so mysql_udf_idna.so cd $(LIBDIR) && rm -f $+