From e49ee4aa8a856db42250b2365a6f816e307db517 Mon Sep 17 00:00:00 2001 From: krion Date: Wed, 18 May 2005 12:42:50 +0000 Subject: Add WITHOUT_MUTT_FLOCK knob. PR: ports/81174 Submitted by: maintainer --- mail/mutt/Makefile | 7 ++++++- mail/mutt14/Makefile | 7 ++++++- 2 files changed, 12 insertions(+), 2 deletions(-) (limited to 'mail') 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 -- cgit