pkgsrc/databases/postgresql73-lib/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

48 lines
1.2 KiB
Makefile

# $NetBSD: Makefile,v 1.3 2004/10/10 17:46:07 jdolecek Exp $
PKGNAME= postgresql73-lib-${BASE_VERS}
PKGREVISION= # empty
SVR4_PKGNAME= pstgl
COMMENT= PostgreSQL database headers and libraries
PKG_INSTALLATION_TYPES= overwrite pkgviews
USE_BUILDLINK3= yes
.include "../../databases/postgresql73/Makefile.common"
CONFIGURE_ARGS+= --with-openssl=${SSLBASE}
BUILD_DIRS= ${WRKSRC}/src/include
BUILD_DIRS+= ${WRKSRC}/src/interfaces
BUILD_DIRS+= ${WRKSRC}/src/pl
USE_PKGINSTALL= yes
DEINSTALL_EXTRA_TMPL= ${.CURDIR}/INSTALL
INSTALL_EXTRA_TMPL= ${.CURDIR}/INSTALL
INSTALLATION_DIRS= man
.if ${OPSYS} == "FreeBSD"
PLIST_SUBST+= LIBECPG="@comment "
PLIST_SUBST+= LIBPQ="@comment "
.else
PLIST_SUBST+= LIBECPG=
PLIST_SUBST+= LIBPQ=
.endif
post-buildlink:
#
# Avoid conflict between "${LOCALBASE}/include/openssl/des.h" and
# "/usr/include/crypt.h" -- we want the definitions in the former.
#
.if (${OPSYS} == "SunOS")
${TOUCH} ${BUILDLINK_DIR}/include/crypt.h
.endif
post-install:
cd ${WRKSRC}/src/include && ${SETENV} ${MAKE_ENV} \
${MAKE_PROGRAM} install-all-headers
${GTAR} zxCf ${PREFIX}/man ${WRKSRC}/doc/man.tar.gz \
`${SED} -e "s|^#.*||" ${FILESDIR}/man.lib`
.include "../../security/openssl/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"