1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-22 08:58:47 +00:00

- Update to 1.5.2

- Use USE_PGSQL for server dependency

- Fix build with postgresql-8.3 and change dependency

Obtained from:	http://decide.cocolog-nifty.com/blog/2009/03/postgresql-836-.html

PR:		ports/166477
Submitted by:	crees
This commit is contained in:
Chris Rees 2012-04-15 14:06:32 +00:00
parent fcb2ca30a4
commit 4f6a866417
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=294855
3 changed files with 27 additions and 15 deletions

View File

@ -6,26 +6,21 @@
#
PORTNAME= ludia
PORTVERSION= 1.5.1
PORTVERSION= 1.5.2
CATEGORIES= databases
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_JP}
MASTER_SITE_SUBDIR= ludia/32461
MASTER_SITES= SFJP
MASTER_SITE_SUBDIR= ludia/38430
MAINTAINER= kuriyama@FreeBSD.org
COMMENT= PostgreSQL extension for full-text search indexing
PGSQL_PORT= ${PORTSDIR}/databases/postgresql82-server
RUN_DEPENDS= ${LOCALBASE}/bin/postmaster:${PGSQL_PORT} \
senna-cfg:${PORTSDIR}/textproc/senna
BUILD_DEPENDS= ${LOCALBASE}/bin/postmaster:${PGSQL_PORT} \
senna-cfg:${PORTSDIR}/textproc/senna
BUILD_DEPENDS= senna-cfg:${PORTSDIR}/textproc/senna
RUN_DEPENDS= senna-cfg:${PORTSDIR}/textproc/senna
GNU_CONFIGURE= yes
USE_AUTOTOOLS= libtool
USE_PGSQL= 82
WANT_PGSQL_VER= 82
.include <bsd.port.pre.mk>
USE_PGSQL= server
WANT_PGSQL_VER= 83
# let configure find postgres stuff in non-standard places
CONFIGURE_ARGS+=--with-pgconfigdir=${LOCALBASE}/bin \
@ -36,4 +31,4 @@ CONFIGURE_ARGS+=--with-pgconfigdir=${LOCALBASE}/bin \
--with-pgpkglibdir=${LOCALBASE}/lib/postgresql \
--with-pgsharedir=${LOCALBASE}/share/postgresql
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View File

@ -1,2 +1,2 @@
SHA256 (ludia-1.5.1.tar.gz) = 392543d96e727d09e240ba38effbb2a21498eafa0ec8f95a3a10baba00e3ff32
SIZE (ludia-1.5.1.tar.gz) = 421128
SHA256 (ludia-1.5.2.tar.gz) = 392b5f7137445668ab0114d58347043a4f3214f5760fb9cfc0379062a8ec4efe
SIZE (ludia-1.5.2.tar.gz) = 422117

View File

@ -0,0 +1,17 @@
Fix from
http://decide.cocolog-nifty.com/blog/2009/03/postgresql-836-.html
to make it work with postgresql83
--- pgsenna2.c.orig 2012-03-27 18:32:05.393559930 +0100
+++ pgsenna2.c 2012-03-27 18:32:34.261558703 +0100
@@ -610,7 +610,7 @@
bs.index = index_info_open(index, 1, flags);
bs.oid_type = oid_type;
reltuples = IndexBuildHeapScan(heap, index, indexInfo,
- buildCallback, (void *) &bs);
+ buildCallback, (void *) &bs, false);
#if defined(POSTGRES82) || defined(POSTGRES83)
result = (IndexBuildResult *) PGS2_PALLOC(sizeof(IndexBuildResult));
result->heap_tuples = reltuples;