diff options
author | Pawel Pekala <pawel@FreeBSD.org> | 2011-12-20 21:12:37 +0000 |
---|---|---|
committer | Pawel Pekala <pawel@FreeBSD.org> | 2011-12-20 21:12:37 +0000 |
commit | c8a63c112e73408c20fe4333e8488f13a3f7a743 (patch) | |
tree | c47e67759b70addf14aa37af64071fd58d121bdf /databases/mysql-udf-sys/files/patch-Makefile | |
parent | Forgot to bump portrevision (diff) |
This package contains a number of functions that allows one to interact
with the operating system from MySQL:
sys_eval - executes an arbitrary command, and returns it's output.
sys_exec - executes an arbitrary command, and returns it's exit code.
sys_get - gets the value of an environment variable.
sys_set - create an environment variable, or update the value of an
existing environment variable.
Use lib_mysqludf_sys_info() to obtain information about the currently
installed version of lib_mysqludf_sys.
WWW: http://www.mysqludf.org/lib_mysqludf_sys
PR: ports/163216
Submitted by: David Cornejo <dave@dogwood.com>
Notes
Notes:
svn path=/head/; revision=287755
Diffstat (limited to 'databases/mysql-udf-sys/files/patch-Makefile')
-rw-r--r-- | databases/mysql-udf-sys/files/patch-Makefile | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/databases/mysql-udf-sys/files/patch-Makefile b/databases/mysql-udf-sys/files/patch-Makefile new file mode 100644 index 000000000000..07286a216082 --- /dev/null +++ b/databases/mysql-udf-sys/files/patch-Makefile @@ -0,0 +1,22 @@ +--- Makefile.orig 2009-01-18 23:11:00.000000000 -1000 ++++ Makefile 2011-12-12 13:16:07.000000000 -1000 +@@ -1,4 +1,16 @@ +-LIBDIR=/usr/lib ++ ++LIBDIR= %%PREFIX%%/lib/mysql/plugin ++INCDIR= %%LOCALBASE%%/include/mysql ++PROG= lib_mysqludf_sys.so ++ ++all: lib_mysql_udf.so ++ ++lib_mysql_udf.so: ++ $(CC) -fPIC -Wall -I$(INCDIR) -I. -shared lib_mysqludf_sys.c -o $(PROG) + + install: +- gcc -Wall -I/usr/include/mysql -I. -shared lib_mysqludf_sys.c -o $(LIBDIR)/lib_mysqludf_sys.so ++ mkdir -p $(LIBDIR) ++ install -o root -g wheel -m 0755 $(PROG) $(LIBDIR) ++ ++clean: ++ rm -f $(PROG) ++ |