freebsd-ports/databases/tablelog/Makefile
Tobias Kortkamp 267dfeb0fa databases/tablelog: Unbreak build with PostgreSQL >= 11.0
table_log.c:76:29: error: member reference type 'FormData_pg_attribute' (aka 'struct FormData_pg_attribute') is not a pointer; did you mean to use '.'?
    if (!tupleDesc->attrs[i]->attisdropped) {
         ~~~~~~~~~~~~~~~~~~~^~
                            .
table_log.c:303:59: error: member reference type 'FormData_pg_attribute' (aka 'struct FormData_pg_attribute') is not a pointer; did you mean to use '.'?
      if (trigdata->tg_relation->rd_att->attrs[col_nr - 1]->attisdropped) {
          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
                                                          .
table_log.c:348:59: error: member reference type 'FormData_pg_attribute' (aka 'struct FormData_pg_attribute') is not a pointer; did you mean to use '.'?
      if (trigdata->tg_relation->rd_att->attrs[col_nr - 1]->attisdropped) {
          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
                                                          .
table_log.c:375:59: error: member reference type 'FormData_pg_attribute' (aka 'struct FormData_pg_attribute') is not a pointer; did you mean to use '.'?
      if (trigdata->tg_relation->rd_att->attrs[col_nr - 1]->attisdropped) {
          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
                                                          .
4 errors generated.

http://package18.nyi.freebsd.org/data/120amd64-default-PR239514/2019-07-29_20h41m52s/logs/tablelog-0.4.4_3.log

While here

- Mark it as deprecated.  The last release was in 2007 and upstream
  has been inactive since then.
- Fix WWW

PR:		239514
Reported by:	antoine (via exp-run)
2019-08-03 07:43:34 +00:00

39 lines
939 B
Makefile

# Created by: Robert Gogolok <gogo@cs.uni-sb.de>
# $FreeBSD$
PORTNAME= tablelog
PORTVERSION= 0.4.4
PORTREVISION= 3
CATEGORIES= databases
MASTER_SITES= http://pgfoundry.org/frs/download.php/1387/
MAINTAINER= ports@FreeBSD.org
COMMENT= Logs changes on a table in PostgreSQL
LICENSE= PostgreSQL
DEPRECATED= Abandonware
EXPIRATION_DATE= 2019-09-15
WRKSRC= ${WRKDIR}/table_log-${DISTVERSION}
USES= gmake pgsql
LLD_UNSAFE= yes
MAKE_ARGS= USE_PGXS=1
OPTIONS_DEFINE= DOCS
do-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/lib/postgresql/
${INSTALL_LIB} ${WRKSRC}/table_log.so \
${STAGEDIR}${PREFIX}/lib/postgresql/
@${MKDIR} ${STAGEDIR}${PREFIX}/share/postgresql/contrib/
${INSTALL_DATA} ${WRKSRC}/table_log_init.sql \
${STAGEDIR}${PREFIX}/share/postgresql/contrib/
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}/
cd ${WRKSRC} && ${INSTALL_DATA} README.table_log table_log.sql \
${STAGEDIR}${DOCSDIR}/
.include <bsd.port.mk>