aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2005-05-18 20:42:50 +0800
committerkrion <krion@FreeBSD.org>2005-05-18 20:42:50 +0800
commite49ee4aa8a856db42250b2365a6f816e307db517 (patch)
tree793ce4382d010c7241e6209e87580aa2744f0dc5 /mail
parentf906ada20fba0bb458521012da9a995e33dc3a59 (diff)
downloadfreebsd-ports-gnome-e49ee4aa8a856db42250b2365a6f816e307db517.tar.gz
freebsd-ports-gnome-e49ee4aa8a856db42250b2365a6f816e307db517.tar.zst
freebsd-ports-gnome-e49ee4aa8a856db42250b2365a6f816e307db517.zip
Add WITHOUT_MUTT_FLOCK knob.
PR: ports/81174 Submitted by: maintainer
Diffstat (limited to 'mail')
-rw-r--r--mail/mutt/Makefile7
-rw-r--r--mail/mutt14/Makefile7
2 files changed, 12 insertions, 2 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
diff --git a/mail/mutt14/Makefile b/mail/mutt14/Makefile
index 0226d7633028..790e58dfd42f 100644
--- a/mail/mutt14/Makefile
+++ b/mail/mutt14/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