blob: 271158de1d8fbbf0a0aee4ffd9d7365ac50b0ea2 (
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
|
# $NetBSD: buildlink3.mk,v 1.9 2008/01/18 05:06:29 tnn Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
POSTGRESQL81_CLIENT_BUILDLINK3_MK:= ${POSTGRESQL81_CLIENT_BUILDLINK3_MK}+
.include "../../mk/bsd.fast.prefs.mk"
.if ${BUILDLINK_DEPTH} == "+"
BUILDLINK_DEPENDS+= postgresql81-client
.endif
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Npostgresql81-client}
BUILDLINK_PACKAGES+= postgresql81-client
BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}postgresql81-client
.if ${POSTGRESQL81_CLIENT_BUILDLINK3_MK} == "+"
BUILDLINK_API_DEPENDS.postgresql81-client+= postgresql81-client>=8.1.0
BUILDLINK_ABI_DEPENDS.postgresql81-client?= postgresql81-client>=8.1.11nb1
BUILDLINK_PKGSRCDIR.postgresql81-client?= ../../databases/postgresql81-client
. if defined(PG_SUBPREFIX) && !empty(PG_SUBPREFIX)
BUILDLINK_INCDIRS.postgresql81-client?= ${PG_SUBPREFIX}/include
BUILDLINK_LIBDIRS.postgresql81-client?= ${PG_SUBPREFIX}/lib
. endif
# This variable contains the libraries need to link most clients.
BUILDLINK_LDADD.postgresql81-client= -lpq ${BUILDLINK_LDADD.gettext}
BUILDLINK_FILES.postgresql81-client+= bin/pg_config
.endif # POSTGRESQL81_CLIENT_BUILDLINK3_MK
.include "../../security/openssl/buildlink3.mk"
.include "../../devel/gettext-lib/buildlink3.mk"
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
|