ports/80785: maintainer-update of mail/mutt

Udo Schweigert udo.schweigert at siemens.com
Sun May 8 15:10:02 UTC 2005


>Number:         80785
>Category:       ports
>Synopsis:       maintainer-update of mail/mutt
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sun May 08 15:10:02 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Udo Schweigert
>Release:        FreeBSD 5.4-RELEASE i386
>Organization:
>Environment:

>Description:

Maintainer update of mail/mutt:

	- Fix the misc/mime-support dependency

	- Add the MUTT_LITE knob for those who want to build mutt with
	  minimal effort.

>How-To-Repeat:
>Fix:

diff -ru  /usr/ports/mail/mutt/Makefile ./Makefile
--- /usr/ports/mail/mutt/Makefile	Sun May  8 16:54:08 2005
+++ ./Makefile	Sun May  8 16:56:01 2005
@@ -30,18 +30,21 @@
 
 CONFLICTS=	mutt-devel-*
 
-.if defined(PACKAGE_BUILDING)
+RUN_DEPENDS=	${LOCALBASE}/etc/mime.types:${PORTSDIR}/misc/mime-support
+.if defined(PACKAGE_BUILDING) && !defined (MUTT_LITE)
 WITH_SLANG=	yes
 BUILD_DEPENDS=	ispell:${PORTSDIR}/textproc/ispell
-RUN_DEPENDS=	ispell:${PORTSDIR}/textproc/ispell \
-		urlview:${PORTSDIR}/textproc/urlview \
-		${LOCALBASE}/etc/mime.types:${PORTSDIR}/misc/mime-support
+RUN_DEPENDS+=	ispell:${PORTSDIR}/textproc/ispell \
+		urlview:${PORTSDIR}/textproc/urlview
 .endif
-.if ${MACHINE_ARCH} != "alpha"
+.if defined (MUTT_LITE)
+WITH_SGML_DOCS:=no
+.elif ${MACHINE_ARCH} != "alpha"
 #  coredump in sgmls
 WITH_SGML_DOCS?=yes
 .endif
 
+.if !defined (MUTT_LITE)
 .if !defined(WITHOUT_NLS)
 USE_GETTEXT=	yes
 USE_ICONV=	yes
@@ -49,15 +52,17 @@
 .error the WITHOUT_MUTT_ICONV knob of the mutt port only works if \
 	WITHOUT_NLS is also given
 .endif
-.elif !defined(WITHOUT_MUTT_ICONV)
+.elif !defined(WITHOUT_MUTT_ICONV) && !defined (MUTT_LITE)
 USE_ICONV=	yes
 .endif
+.endif
 
 .if defined(WITH_SLANG)
 LIB_DEPENDS+=	slang.1:${PORTSDIR}/devel/libslang
 .elif defined(WITH_NCURSES_PORT)
 LIB_DEPENDS+=	ncurses.5:${PORTSDIR}/devel/ncurses
 .endif
+.if !defined (MUTT_LITE)
 .if defined(WITH_MUTT_CYRUS_SASL)
 LIB_DEPENDS+=	sasl.8:${PORTSDIR}/security/cyrus-sasl
 .endif
@@ -67,6 +72,7 @@
 .if defined(WITH_MUTT_XFACE)
 PATCH_DEPENDS+=	${NONEXISTENT}:${PORTSDIR}/news/slrnface:extract
 RUN_DEPENDS+=	slrnface:${PORTSDIR}/news/slrnface
+.endif
 .endif
 
 DIST_SUBDIR=	mutt
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list