blob: 770661007e79b9eaad798b692448beae270efcf6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
# $NetBSD: Makefile,v 1.21 2006/10/18 19:24:07 adam Exp $
PKGNAME= postgresql74-client-${BASE_VERS}
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
USE_TOOLS+= tar
CONFIGURE_ARGS+= --with-openssl=${SSLBASE:Q}
CONFIGURE_ARGS+= --with-zlib
CONFIGURE_ARGS+= --with-readline
MAKE_ENV+= INSTALLED_LIBPQ=1
BUILD_DIRS= src/bin
pre-build:
${_PKG_SILENT}${_PKG_DEBUG}${_ULIMIT_CMD}cd ${WRKSRC}/src/backend && \
env ${MAKE_ENV} ${MAKE_PROGRAM} ${BUILD_MAKE_FLAGS} \
../../src/include/parser/parse.h ../../src/include/utils/fmgroids.h
post-install:
egrep -v "^#" ${FILESDIR}/man.client > ${WRKDIR}/man_tar_files
cd ${PREFIX}/man && tar -zxm -T ${WRKDIR}/man_tar_files \
-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"
|