svn commit: r340704 - in head/databases/tablelog: . files
John Marino
marino at FreeBSD.org
Wed Jan 22 11:20:19 UTC 2014
Author: marino
Date: Wed Jan 22 11:20:17 2014
New Revision: 340704
URL: http://svnweb.freebsd.org/changeset/ports/340704
QAT: https://qat.redports.org/buildarchive/r340704/
Log:
databases/tablelog: Fix pgsql 9.2+ and stage support
PR: ports/179955
Added:
head/databases/tablelog/files/
head/databases/tablelog/files/patch-table__log.c (contents, props changed)
Modified:
head/databases/tablelog/Makefile
head/databases/tablelog/pkg-plist
Modified: head/databases/tablelog/Makefile
==============================================================================
--- head/databases/tablelog/Makefile Wed Jan 22 11:03:44 2014 (r340703)
+++ head/databases/tablelog/Makefile Wed Jan 22 11:20:17 2014 (r340704)
@@ -14,21 +14,21 @@ WRKSRC= ${WRKDIR}/table_log-${DISTVERSI
USES= gmake
USE_PGSQL= yes
-WANT_PGSQL_VER= 91-
MAKE_ARGS= USE_PGXS=1
-PORTDOCS= README.table_log table_log.sql
+.include <bsd.port.options.mk>
-NO_STAGE= yes
do-install:
- @${MKDIR} ${PREFIX}/lib/postgresql/
- @${INSTALL_PROGRAM} ${WRKSRC}/table_log.so ${PREFIX}/lib/postgresql/
- @${MKDIR} ${PREFIX}/share/postgresql/contrib/
+ @${MKDIR} ${STAGEDIR}${PREFIX}/lib/postgresql/
+ @${INSTALL_PROGRAM} ${WRKSRC}/table_log.so \
+ ${STAGEDIR}${PREFIX}/lib/postgresql/
+ @${MKDIR} ${STAGEDIR}${PREFIX}/share/postgresql/contrib/
@${INSTALL_DATA} ${WRKSRC}/table_log_init.sql \
- ${PREFIX}/share/postgresql/contrib/
-.if !defined(NOPORTDOCS)
- @${MKDIR} ${DOCSDIR}/
- cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}/
+ ${STAGEDIR}${PREFIX}/share/postgresql/contrib/
+.if ${PORT_OPTIONS:MDOCS}
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}/
+ cd ${WRKSRC} && ${INSTALL_DATA} README.table_log table_log.sql \
+ ${STAGEDIR}${DOCSDIR}/
.endif
.include <bsd.port.mk>
Added: head/databases/tablelog/files/patch-table__log.c
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/databases/tablelog/files/patch-table__log.c Wed Jan 22 11:20:17 2014 (r340704)
@@ -0,0 +1,11 @@
+--- table_log.c.orig 2007-05-16 23:14:04.000000000 +0000
++++ table_log.c
+@@ -22,6 +22,8 @@
+ #include "utils/formatting.h"
+ #include "utils/builtins.h"
+ #include <utils/lsyscache.h>
++#include <utils/rel.h>
++#include <utils/timestamp.h>
+ #include <funcapi.h>
+
+ /* for PostgreSQL >= 8.2.x */
Modified: head/databases/tablelog/pkg-plist
==============================================================================
--- head/databases/tablelog/pkg-plist Wed Jan 22 11:03:44 2014 (r340703)
+++ head/databases/tablelog/pkg-plist Wed Jan 22 11:20:17 2014 (r340704)
@@ -1,5 +1,8 @@
lib/postgresql/table_log.so
share/postgresql/contrib/table_log_init.sql
+%%PORTDOCS%%%%DOCSDIR%%/README.table_log
+%%PORTDOCS%%%%DOCSDIR%%/table_log.sql
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
@dirrmtry lib/postgresql
@dirrmtry share/postgresql/contrib
@dirrmtry share/postgresql
More information about the svn-ports-all
mailing list