View | Details | Raw Unified | Return to bug 146737
Collapse All | Expand All

(-)Makefile (-7 / +7 lines)
Lines 20-25 Link Here
20
20
21
MAKE_JOBS_SAFE=	yes
21
MAKE_JOBS_SAFE=	yes
22
22
23
OPTIONS=	ADDAUTH_PATCH "Adds -a option" Off \
24
		REJECTTEXT_PATCH "Adds -R option" Off \
25
		LDAP "Adds LDAP support" Off \
26
		SENDMAIL_PORT "Build against sendmail port" Off 
27
23
##
28
##
24
# Use the following quirks to choose which sendmail to use (ports or system):
29
# Use the following quirks to choose which sendmail to use (ports or system):
25
#
30
#
Lines 45-54 Link Here
45
.endif
50
.endif
46
.endif
51
.endif
47
52
48
.if exists(${LOCALBASE}/lib/libldap.so)
49
WITH_LDAP=yes
50
.endif
51
52
.if !defined(WITHOUT_LDAP) && defined(WITH_LDAP)
53
.if !defined(WITHOUT_LDAP) && defined(WITH_LDAP)
53
USE_OPENLDAP=yes
54
USE_OPENLDAP=yes
54
CPPFLAGS+=	-I${LOCALBASE}/include
55
CPPFLAGS+=	-I${LOCALBASE}/include
Lines 60-74 Link Here
60
WITH_SENDMAIL_BASE=yes
61
WITH_SENDMAIL_BASE=yes
61
.endif
62
.endif
62
63
63
.if defined(WITH_SENDMAIL_BASE)
64
.if !defined(WITH_SENDMAIL_PORT)	# use base sendmail
64
.if exists(/usr/lib/libmilter.a)
65
.if exists(/usr/lib/libmilter.a)
65
MILTERBASE=	/usr
66
MILTERBASE=	/usr
66
.else
67
.else
67
IGNORE=	base system sendmail not found or too old, rebuild with WITH_SENDMAIL_PORT=yes
68
IGNORE=	base system sendmail not found or too old, rebuild with WITH_SENDMAIL_PORT=yes
68
.endif
69
.endif
69
.endif
70
.endif
70
71
.else
71
.if defined(WITH_SENDMAIL_PORT)
72
BUILD_DEPENDS+=	${LOCALBASE}/lib/libmilter.a:${PORTSDIR}/mail/sendmail
72
BUILD_DEPENDS+=	${LOCALBASE}/lib/libmilter.a:${PORTSDIR}/mail/sendmail
73
MILTERBASE?=	${LOCALBASE}
73
MILTERBASE?=	${LOCALBASE}
74
.endif
74
.endif

Return to bug 146737