1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-22 20:41:26 +00:00

depend on devel/fam in case it is installed (because the port detects it automatically)

Noted By:	Jim Trigg <jtrigg@spamcop.net>
PR:		66011
This commit is contained in:
Oliver Lehmann 2004-04-28 18:07:18 +00:00
parent ace6d27585
commit f0f740aa39
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=107839

View File

@ -155,7 +155,9 @@ CONFIGURE_ARGS+=--without-authcram
CONFIGURE_ARGS+=--with-authcram
.endif
.if defined(WITH_FAM)
.include <bsd.port.pre.mk>
.if defined(WITH_FAM) || exists(${LOCALBASE}/lib/libfam.so)
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="${LDFLAGS}"
LDFLAGS+= -L${LOCALBASE}/lib
@ -187,7 +189,6 @@ MLINKS= authlib.7 authpwd.7 \
EXTRA_DOCS= README INSTALL AUTHORS imap/ChangeLog
.include <bsd.port.pre.mk>
post-patch:
@${REINPLACE_CMD} -e 's|^case x$$lockmethod in|${TEST} \&\& &|g' \