Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 May 2000 22:25:50 +0200 (CEST)
From:      rguyom@321.net
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/18717: mail/mutt-1.2i use its own static libintl
Message-ID:  <20000521202550.1E7D779@diabolic-cow.mail.dotcom.fr>

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

>Number:         18717
>Category:       ports
>Synopsis:       mail/mutt-1.2i use its own static libintl
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun May 21 14:50:01 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Rémi Guyomarch
>Release:        FreeBSD 4.0-STABLE i386
>Organization:
unknown
>Environment:
>Description:

	The autoconf script doesn't detect libintl.h in /usr/local/include
	automatically. It then use the gettext library included in the mutt
	tarball instead of the one installed in /usr/local/{lib,include}.

	Without the patch below :
	work/mutt-1.2/mutt:
		libncurses.so.5 => /usr/lib/libncurses.so.5 (0x280d2000)
		libxpg4.so.2 => /usr/lib/libxpg4.so.2 (0x28111000)
		libc.so.4 => /usr/lib/libc.so.4 (0x28115000)
	   text    data     bss     dec     hex filename
	 454280   16148   12964  483392   76040 work/mutt-1.2/mutt

	With :
	work/mutt-1.2/mutt:
		libncurses.so.5 => /usr/lib/libncurses.so.5 (0x280c8000)
		libintl.so.1 => /usr/local/lib/libintl.so.1 (0x28107000)
		libxpg4.so.2 => /usr/lib/libxpg4.so.2 (0x2810b000)
		libc.so.4 => /usr/lib/libc.so.4 (0x2810f000)
	   text    data     bss     dec     hex filename
	 411857   16128    6592  434577   6a191 work/mutt-1.2/mutt

>How-To-Repeat:

	Build the port.

>Fix:

--- Makefile.old        Sun May 21 20:52:26 2000
+++ Makefile    Sun May 21 22:04:20 2000
@@ -31,7 +31,7 @@
 
 MAINTAINER=    obrien@FreeBSD.org
 
-BUILD_DEPENDS=	msgfmt:${PORTSDIR}/devel/gettext
+LIB_DEPENDS=	intl.1:${PORTSDIR}/devel/gettext
 .if defined(BATCH)
 LIB_DEPENDS=	slang.1:${PORTSDIR}/devel/libslang
 BUILD_DEPENDS=	ispell:${PORTSDIR}/textproc/ispell
@@ -55,6 +55,7 @@
 DIST_SUBDIR=	mutt
 GNU_CONFIGURE=	yes
 CONFIGURE_TARGET=${ARCH}-portbld-freebsd${OSREL}
+CONFIGURE_ENV=	CPPFLAGS=-I${PREFIX}/include LDFLAGS=-L${PREFIX}/lib
 CONFIGURE_ARGS= --enable-pop --enable-imap --enable-flock --disable-fcntl  \
		--with-sharedir=${PREFIX}/share/mutt \
		--with-docdir=${PREFIX}/share/doc/mutt --with-charmaps

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


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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