summaryrefslogtreecommitdiff
path: root/databases/postgresql-lib/buildlink3.mk
blob: d4533bc1934b4b2541ce85f567f45791921206b9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# $NetBSD: buildlink3.mk,v 1.1 2004/01/03 23:06:43 jlam Exp $

BUILDLINK_DEPTH:=		${BUILDLINK_DEPTH}+
POSTGRESQL_LIB_BUILDLINK3_MK:=	${POSTGRESQL_LIB_BUILDLINK3_MK}+

.if !empty(POSTGRESQL_LIB_BUILDLINK3_MK:M\+)
BUILDLINK_DEPENDS.postgresql-lib?=	postgresql-lib>=7.3.1
BUILDLINK_PKGSRCDIR.postgresql-lib?=	../../databases/postgresql-lib
BUILDLINK_INCDIRS.postgresql-lib?=	include/postgresql
.endif	# POSTGRESQL_LIB_BUILDLINK3_MK

.if !empty(BUILDLINK_DEPTH:M\+)
BUILDLINK_DEPENDS+=	postgresql-lib
.endif

.if !empty(POSTGRESQL_LIB_BUILDLINK3_MK:M\+)
BUILDLINK_PACKAGES+=	postgresql-lib

.  include "../../security/openssl/buildlink3.mk"
.endif	# POSTGRESQL_LIB_BUILDLINK3_MK

BUILDLINK_DEPTH:=	${BUILDLINK_DEPTH:C/\+$//}