svn commit: r354195 - in head/databases/mysql-udf-sys: . files

Vanilla I. Shu vanilla at FreeBSD.org
Fri May 16 06:37:37 UTC 2014


Author: vanilla
Date: Fri May 16 06:37:36 2014
New Revision: 354195
URL: http://svnweb.freebsd.org/changeset/ports/354195
QAT: https://qat.redports.org/buildarchive/r354195/

Log:
  Support staging.
  
  Approved by:	portmgr@

Modified:
  head/databases/mysql-udf-sys/Makefile
  head/databases/mysql-udf-sys/files/patch-Makefile

Modified: head/databases/mysql-udf-sys/Makefile
==============================================================================
--- head/databases/mysql-udf-sys/Makefile	Fri May 16 03:29:49 2014	(r354194)
+++ head/databases/mysql-udf-sys/Makefile	Fri May 16 06:37:36 2014	(r354195)
@@ -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>

Modified: head/databases/mysql-udf-sys/files/patch-Makefile
==============================================================================
--- head/databases/mysql-udf-sys/files/patch-Makefile	Fri May 16 03:29:49 2014	(r354194)
+++ head/databases/mysql-udf-sys/files/patch-Makefile	Fri May 16 06:37:36 2014	(r354195)
@@ -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)
-+


More information about the svn-ports-all mailing list