summaryrefslogtreecommitdiff
path: root/databases/mysql-udf-sys/files/patch-Makefile
diff options
context:
space:
mode:
authorVanilla I. Shu <vanilla@FreeBSD.org>2014-05-16 06:37:36 +0000
committerVanilla I. Shu <vanilla@FreeBSD.org>2014-05-16 06:37:36 +0000
commitff342a02c8ec70f78b230dd6f65d3f10ce014116 (patch)
tree320b36115fea6bdb900ec9775d32048b701fdb2a /databases/mysql-udf-sys/files/patch-Makefile
parentSupport STAGEDIR. (diff)
Support staging.
Approved by: portmgr@
Notes
Notes: svn path=/head/; revision=354195
Diffstat (limited to 'databases/mysql-udf-sys/files/patch-Makefile')
-rw-r--r--databases/mysql-udf-sys/files/patch-Makefile9
1 files changed, 4 insertions, 5 deletions
diff --git a/databases/mysql-udf-sys/files/patch-Makefile b/databases/mysql-udf-sys/files/patch-Makefile
index 07286a216082..87202c1dc55f 100644
--- a/databases/mysql-udf-sys/files/patch-Makefile
+++ b/databases/mysql-udf-sys/files/patch-Makefile
@@ -1,5 +1,5 @@
---- Makefile.orig 2009-01-18 23:11:00.000000000 -1000
-+++ Makefile 2011-12-12 13:16:07.000000000 -1000
+--- Makefile.orig 2009-01-19 17:11:00.000000000 +0800
++++ Makefile 2014-05-16 14:36:12.368319209 +0800
@@ -1,4 +1,16 @@
-LIBDIR=/usr/lib
+
@@ -14,9 +14,8 @@
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)
++ mkdir -p $(DESTDIR)$(LIBDIR)
++ install -o root -g wheel -m 0755 $(PROG) $(DESTDIR)$(LIBDIR)
+
+clean:
+ rm -f $(PROG)
-+