pkgsrc/databases/postgresql73-client/Makefile
jdolecek 0b19059448 Update to PostgreSQL 7.3.7.
Changes:
     * Prevent possible loss of committed transactions during crash
       Due to insufficient interlocking between transaction commit and
       checkpointing, it was possible for transactions committed just
       before the most recent checkpoint to be lost, in whole or in part,
       following a database crash and restart. This is a serious bug that
       has existed since PostgreSQL 7.1.
     * Remove asymmetrical word processing in tsearch (Teodor)
     * Properly schema-qualify function names when pg_dump'ing a CAST
2004-10-10 17:46:07 +00:00

38 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.4 2004/10/10 17:46:07 jdolecek Exp $
PKGNAME= postgresql73-client-${BASE_VERS}
PKGREVISION= # empty
SVR4_PKGNAME= pstgc
COMMENT= PostgreSQL database client programs
USE_BUILDLINK3= yes
.include "../../databases/postgresql73/Makefile.common"
CONFIGURE_ARGS+= --with-openssl=${SSLBASE}
CONFIGURE_ARGS+= --with-zlib
CONFIGURE_ARGS+= --with-readline
MAKE_ENV+= INSTALLED_LIBPQ=1
BUILD_DIRS= ${WRKSRC}/src/bin
pre-build:
cd ${WRKSRC}/src/bin/psql && \
${RM} -f pqsignal.h && \
${LN} -sf ${BUILDLINK_DIR}/include/postgresql/server/libpq/pqsignal.h pqsignal.h
for file in parser/parse.h utils/fmgroids.h; do \
src="${BUILDLINK_DIR}/include/postgresql/server/$$file"; \
dest="${WRKSRC}/src/include/$$file"; \
${RM} -f $$dest; \
${LN} -sf $$src $$dest; \
done
post-install:
cd ${PREFIX}/man && \
${PAX} -crzf ${WRKSRC}/doc/man.tar.gz `${GREP} -v ^# ${FILESDIR}/exclude`
.include "../../databases/postgresql73-lib/buildlink3.mk"
.include "../../devel/readline/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"