pkgsrc/databases/postgresql74-client/Makefile
jdolecek a6b103e307 Update postgresql74 to 7.4.7. This is security release only, fixes
recently discovered LOAD vulnerability.
2005-02-05 14:31:20 +00:00

39 lines
1.2 KiB
Makefile

# $NetBSD: Makefile,v 1.10 2005/02/05 14:31:20 jdolecek Exp $
PKGNAME= postgresql74-client-${BASE_VERS}
PKGREVISION= # empty
SVR4_PKGNAME= pstgc
COMMENT= PostgreSQL database client programs
.include "../../databases/postgresql74/Makefile.common"
# XXX work around core dumps with the native libedit
USE_GNU_READLINE= yes
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:
${_PKG_SILENT}${_PKG_DEBUG}${_ULIMIT_CMD}cd ${WRKSRC}/src/backend && \
${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} ${BUILD_MAKE_FLAGS} \
../../src/include/parser/parse.h ../../src/include/utils/fmgroids.h
post-install:
${EGREP} -v "^#" ${FILESDIR}/man.exclude > ${WRKDIR}/man_tar_exclude
${TAR} -zxm -C ${PREFIX}/man -X ${WRKDIR}/man_tar_exclude \
-f ${WRKSRC}/doc/man.tar.gz
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "FreeBSD" && ${LOWER_OPSYS_VERSUFFIX} == "4"
USE_GNU_READLINE=yes
.endif
.include "../../databases/postgresql74-lib/buildlink3.mk"
.include "../../devel/readline/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"