Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Jun 2009 09:50:36 +0200 (CEST)
From:      Ulrich Spoerlein <uqs@spoerlein.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        udo.schweigert@siemens.com
Subject:   ports/135146: [PATCH] mail/mutt-devel: Remove unused configure args, pet portlint
Message-ID:  <200906010750.n517oaCT037993@acme.spoerlein.net>
Resent-Message-ID: <200906010800.n51804ua065066@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         135146
>Category:       ports
>Synopsis:       [PATCH] mail/mutt-devel: Remove unused configure args, pet portlint
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jun 01 08:00:04 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Ulrich Spoerlein
>Release:        FreeBSD 7.2-STABLE i386
>Organization:
>Environment:
System: FreeBSD acme.spoerlein.net 7.2-STABLE FreeBSD 7.2-STABLE #1: Sat May  9 23:56:36 CEST
>Description:
When recompiling mutt-devel, I saw the following warnings and remove the no longer
used flags. Also, portlint complains about PREFIX showing up in DEPENDS lines, this
should be LOCALBASE

Port maintainer (udo.schweigert@siemens.com) is cc'd.
Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
Compile with WITH_MUTT_MAILDIR_HEADER_CACHE, look at configure output or config.log:

config.log:configure:23780: WARNING: Unrecognized options: --with-sharedir, --disable-inodesort
>Fix:

--- mutt-devel-1.5.19_1.patch begins here ---
Index: Makefile
===================================================================
RCS file: /tank/ncvs/ports/mail/mutt-devel/Makefile,v
retrieving revision 1.301
diff -u -p -u -r1.301 Makefile
--- Makefile	19 Feb 2009 17:02:31 -0000	1.301
+++ Makefile	1 Jun 2009 07:47:18 -0000
@@ -159,7 +159,7 @@ DATADIR?=	${PREFIX}/share/mutt
 LDFLAGS+=	-L${LOCALBASE}/lib
 CONFIGURE_ENV=	CC="${CC} -I${LOCALBASE}/include" LDFLAGS="${LDFLAGS}"
 CONFIGURE_ARGS=	--disable-fcntl --with-ssl=${OPENSSLBASE} \
-		--with-sharedir=${PREFIX}/share/mutt --with-docdir=${DOCSDIR} \
+		--with-docdir=${DOCSDIR} \
 		--sysconfdir=${PREFIX}/etc --enable-external-dotlock \
 		--enable-pop --enable-imap --disable-warnings
 .if defined(MUTT_CONFIGURE_ARGS)
@@ -494,7 +494,7 @@ CONFIGURE_ARGS+=	--enable-hcache --witho
 CONFIGURE_ARGS+=	--disable-hcache
 .endif
 .if defined(WITH_MUTT_MAILDIR_HEADER_CACHE)
-CONFIGURE_ARGS+=	 --disable-inodesort --without-qdbm
+CONFIGURE_ARGS+=	 --without-qdbm
 .endif
 .if defined(WITH_MUTT_SIDEBAR_PATCH)
 SCRIPTS_ENV+=	MUTT_SIDEBAR_PATCH="yes"
@@ -540,7 +540,7 @@ post-patch::
 
 .if ${XML_USED} == yes
 BUILD_DEPENDS+=	xsltproc:${PORTSDIR}/textproc/libxslt \
-		${PREFIX}/share/xsl/docbook/html/docbook.xsl:${PORTSDIR}/textproc/docbook-xsl \
+		${LOCALBASE}/share/xsl/docbook/html/docbook.xsl:${PORTSDIR}/textproc/docbook-xsl \
 		lynx:${PORTSDIR}/www/lynx
 post-patch::
 	@${PATCH} ${PATCH_ARGS} < ${PATCHDIR}/extra-patch-doc-xml
--- mutt-devel-1.5.19_1.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200906010750.n517oaCT037993>