freebsd-ports/databases/cego/Makefile
Kurt Jaeger 312439c99b databases/cego: 2.23.11 -> 2.23.12
- In CegoQueryHelper::evalPredicate fixed termination for INSUB- and
  NOTINB queries. There was no reset at the end of the evaluation, which
  might lead to open table cursors. In case of procedure queries, this
  might lead to locking problems.
  Since the query is reset after evaluation, query caching is no more
  useful. This must be treated in an advanced way.
- Further patches in CegoTableManager::deleteDataTable,
  CegoFactor::evalReferences and CegoSelect::nextTuple for advanced
  query cache handling. All patches have impact on queries of the form
  DELETE FROM t1 WHERE a IN ( SELECT ....)

Submitted by:	Björn Lemke <lemke@lemke-it.com>
2015-07-25 17:11:37 +00:00

48 lines
1.2 KiB
Makefile

# $FreeBSD$
PORTNAME= cego
PORTVERSION= 2.23.12
CATEGORIES= databases
MASTER_SITES= http://www.lemke-it.com/
MAINTAINER= pi@FreeBSD.org
COMMENT= Relational and transactional database system
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= liblfcbase.so:${PORTSDIR}/devel/lfcbase \
liblfcxml.so:${PORTSDIR}/devel/lfcxml
RUN_DEPENDS= ${LOCALBASE}/bin/sudo:${PORTSDIR}/security/sudo
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
USE_LDCONFIG= yes
USES= libtool ncurses readline shebangfix
SHEBANG_FILES= tools/cgbackup tools/cgrecover
USERS= cego
GROUPS= cego
PLIST_SUB+= USER=${USERS}
post-patch:
${REINPLACE_CMD} -e 's,-O3,,g' \
${WRKSRC}/src/Makefile.in \
${WRKSRC}/samples/cgplustest/Makefile.in \
${WRKSRC}/samples/cgwraptest/Makefile.in
post-install:
${MKDIR} ${STAGEDIR}${DATADIR}
${CP} ${WRKSRC}/tools/* ${STAGEDIR}${DATADIR}
${MKDIR} ${STAGEDIR}${PREFIX}/etc/rc.d
${REINPLACE_CMD} -e 's/%%USER%%/${USERS}/g' ${WRKSRC}/samples/rc/cego
${CP} ${WRKSRC}/samples/rc/cego ${STAGEDIR}${PREFIX}/etc/rc.d/
post-stage:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libcego.so.2.0.0
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libcgwrap.so.2.0.0
.include <bsd.port.mk>