blob: 5238c4e7491d233db218d5f3f184854c72f9d50a (
plain) (
blame)
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
|
# Created by: Oliver Lehmann
# $FreeBSD$
# To depend on courier-authlib you might consider using this file by specifying
#
#.if exists(${.CURDIR}/../../security/courier-authlib/Makefile.dep)
#.include "${.CURDIR}/../../security/courier-authlib/Makefile.dep"
#.endif
#
# in your Makefile *before* any
#.include <bsd.port.pre.mk>
.if ${PORT_OPTIONS:MAUTH_LDAP}
BUILD_DEPENDS+= ${LOCALBASE}/lib/courier-authlib/libauthldap.so:${PORTSDIR}/net/courier-authlib-ldap
.endif
.if ${PORT_OPTIONS:MAUTH_MYSQL}
BUILD_DEPENDS+= ${LOCALBASE}/lib/courier-authlib/libauthmysql.so:${PORTSDIR}/databases/courier-authlib-mysql
.endif
.if ${PORT_OPTIONS:MAUTH_PGSQL}
BUILD_DEPENDS+= ${LOCALBASE}/lib/courier-authlib/libauthpgsql.so:${PORTSDIR}/databases/courier-authlib-pgsql
.endif
.if ${PORT_OPTIONS:MAUTH_USERDB}
.if ${PORT_OPTIONS:MGDBM}
BUILD_DEPENDS+= ${LOCALBASE}/lib/courier-authlib/libauthuserdb.so:${PORTSDIR}/databases/courier-authlib-usergdbm
.else
BUILD_DEPENDS+= ${LOCALBASE}/lib/courier-authlib/libauthuserdb.so:${PORTSDIR}/databases/courier-authlib-userdb
.endif
.endif
.if ${PORT_OPTIONS:MAUTH_VCHKPW}
BUILD_DEPENDS+= ${LOCALBASE}/lib/courier-authlib/libauthvchkpw.so:${PORTSDIR}/mail/courier-authlib-vchkpw
.endif
|