diff options
author | Vanilla I. Shu <vanilla@FreeBSD.org> | 2014-05-16 06:37:36 +0000 |
---|---|---|
committer | Vanilla I. Shu <vanilla@FreeBSD.org> | 2014-05-16 06:37:36 +0000 |
commit | ff342a02c8ec70f78b230dd6f65d3f10ce014116 (patch) | |
tree | 320b36115fea6bdb900ec9775d32048b701fdb2a /databases/mysql-udf-sys | |
parent | 5dd533b7da7db6deae5b5516a81fbdb452ccf6f5 (diff) | |
download | ports-ff342a02c8ec70f78b230dd6f65d3f10ce014116.tar.gz ports-ff342a02c8ec70f78b230dd6f65d3f10ce014116.zip |
Notes
Diffstat (limited to 'databases/mysql-udf-sys')
-rw-r--r-- | databases/mysql-udf-sys/Makefile | 4 | ||||
-rw-r--r-- | databases/mysql-udf-sys/files/patch-Makefile | 9 |
2 files changed, 4 insertions, 9 deletions
diff --git a/databases/mysql-udf-sys/Makefile b/databases/mysql-udf-sys/Makefile index d60249cb38c9..e5646a0708d8 100644 --- a/databases/mysql-udf-sys/Makefile +++ b/databases/mysql-udf-sys/Makefile @@ -18,12 +18,8 @@ WRKSRC= ${WRKDIR} PLIST_FILES= lib/mysql/plugin/lib_mysqludf_sys.so PLIST_DIRS= lib/mysql/plugin -NO_STAGE= yes post-patch: @${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|; s|%%LOCALBASE%%|${LOCALBASE}|' \ ${WRKSRC}/Makefile -post-install: - @${CAT} ${PKGMESSAGE} - .include <bsd.port.mk> 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) -+ |