summaryrefslogtreecommitdiff
path: root/mail/mutt/Makefile
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2005-05-18 12:42:50 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2005-05-18 12:42:50 +0000
commit91896b74192e0924a631a827208a9354ba6c805b (patch)
treec28316bc7e0ef161f93355542db691d3b2a0eaf9 /mail/mutt/Makefile
parentAdd WITHOUT_MUTT_FLOCK knob. (diff)
Add WITHOUT_MUTT_FLOCK knob.
PR: ports/81174 Submitted by: maintainer
Notes
Notes: svn path=/head/; revision=135544
Diffstat (limited to 'mail/mutt/Makefile')
-rw-r--r--mail/mutt/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/mail/mutt/Makefile b/mail/mutt/Makefile
index 0226d7633028..790e58dfd42f 100644
--- a/mail/mutt/Makefile
+++ b/mail/mutt/Makefile
@@ -85,7 +85,7 @@ USE_REINPLACE= yes
CONFIGURE_TARGET=${ARCH}-portbld-freebsd${OSREL}
LDFLAGS+= -L${LOCALBASE}/lib
CONFIGURE_ENV= CC="${CC} -I${LOCALBASE}/include" LDFLAGS="${LDFLAGS}"
-CONFIGURE_ARGS= --enable-pop --enable-imap --enable-flock --disable-fcntl \
+CONFIGURE_ARGS= --enable-pop --enable-imap --disable-fcntl \
--with-ssl=${OPENSSLBASE} --sysconfdir=${PREFIX}/etc \
--with-sharedir=${PREFIX}/share/mutt \
--with-docdir=${DOCSDIR} --with-charmaps \
@@ -93,6 +93,11 @@ CONFIGURE_ARGS= --enable-pop --enable-imap --enable-flock --disable-fcntl \
.if defined(MUTT_CONFIGURE_ARGS)
CONFIGURE_ARGS+= ${MUTT_CONFIGURE_ARGS}
.endif
+.if defined(WITHOUT_MUTT_FLOCK)
+CONFIGURE_ARGS+= --disable-flock
+.else
+CONFIGURE_ARGS+= --enable-flock
+.endif
.if defined(WITH_LOCALES_FIX)
CONFIGURE_ARGS+= --enable-locales-fix
.endif