1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-11 02:50:24 +00:00

disable FAM when WITHOUT_FAM is set - even when fam is installed (requires

some configure changes since there is no --without-fam option)

PR:		88205
This commit is contained in:
Oliver Lehmann 2005-10-30 08:35:38 +00:00
parent ae4ce59cb6
commit dd9441a6a5
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=146728

View File

@ -114,7 +114,7 @@ CONFIGURE_ARGS+=--with-trashquota
RC_SCRIPTS_SUB=PREFIX=${PREFIX} RC_SUBR=${RC_SUBR}
.if defined(WITH_FAM) || exists(${LOCALBASE}/lib/libfam.so)
.if defined(WITH_FAM)
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="${LDFLAGS}"
LDFLAGS+= -L${LOCALBASE}/lib
@ -133,6 +133,10 @@ EXTRA_DOCS= AUTHORS INSTALL NEWS imap/ChangeLog imap/README \
maildir/README.sharedfolders.txt tcpd/README.couriertls \
post-patch:
.if defined(WITHOUT_FAM)
@${REINPLACE_CMD} -e 's|$$LIBFAM||g' \
${WRKSRC}/maildir/configure
.endif
@${REINPLACE_CMD} -e 's|^case x$$lockmethod in|${TEST} \&\& &|g' \
${WRKSRC}/liblock/configure
@${REINPLACE_CMD} -e 's|%%INSTALL_MAN%%|${INSTALL_MAN}|' \