From barner@in.tum.de  Thu Oct 23 07:39:37 2003
Return-Path: <barner@in.tum.de>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP
	id 3C87E16A4B3; Thu, 23 Oct 2003 07:39:37 -0700 (PDT)
Received: from mailout.informatik.tu-muenchen.de (mailout.informatik.tu-muenchen.de [131.159.0.5])
	by mx1.FreeBSD.org (Postfix) with ESMTP
	id DC74543FB1; Thu, 23 Oct 2003 07:39:35 -0700 (PDT)
	(envelope-from barner@in.tum.de)
Received: by zi025.glhnet.mhn.de (Postfix, from userid 1000)
	id 86BFDC54; Thu, 23 Oct 2003 16:38:55 +0200 (CEST)
Message-Id: <20031023143855.86BFDC54@zi025.glhnet.mhn.de>
Date: Thu, 23 Oct 2003 16:38:55 +0200 (CEST)
From: Simon Barner <barner@in.tum.de>
Reply-To: Simon Barner <barner@in.tum.de>
To: FreeBSD-gnats-submit@freebsd.org
Cc: oliver@FreeBSD.org
Subject: mail/sylpheed: fix libintl and libiconv depedencies => avoid conflicts with other ports
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         58441
>Category:       ports
>Synopsis:       mail/sylpheed: fix libintl and libiconv depedencies => avoid conflicts with other ports
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    oliver
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Oct 23 07:50:22 PDT 2003
>Closed-Date:    Mon Oct 27 23:44:37 PST 2003
>Last-Modified:  Mon Oct 27 23:44:37 PST 2003
>Originator:     Simon Barner
>Release:        FreeBSD 4.9-PRERELEASE i386
>Organization:
>Environment:
System: FreeBSD zi025.glhnet.mhn.de 4.9-PRERELEASE FreeBSD 4.9-PRERELEASE #1: Thu Sep 4 20:49:53 CEST 2003 simon@zi025.glhnet.mhn.de:/usr/src/sys/compile/KISTE i386

>Description:

This port did not pick up the two libraries mentioned.

One possitive side effect of getting the libintl dependency right, is
that the port does not build its included version of the gettext library and
does not install those two .alias that were conflicting with other ports   
(have a look at the pkg-plist diff and you'll see what I mean)

http://freebsd.rambler.ru/bsdmail/freebsd-ports_2003/msg08919.html

>How-To-Repeat:
>Fix:

diff -ruN sylpheed/Makefile sylpheed.patched/Makefile
--- sylpheed/Makefile	Fri Oct 17 01:24:41 2003
+++ sylpheed.patched/Makefile	Thu Oct 23 16:34:13 2003
@@ -16,6 +16,9 @@
 MAINTAINER=	oliver@FreeBSD.org
 COMMENT=	A lightweight, featureful, and fast GTK+ based e-mail client
 
+LIB_DEPENDS=	intl.5:${PORTSDIR}/devel/gettext \
+		iconv.3:${PORTSDIR}/converters/libiconv
+
 USE_BZIP2=	yes
 USE_GMAKE=	yes
 USE_X_PREFIX=	yes
@@ -25,7 +28,9 @@
 
 CONFIGURE_ENV=	CPPFLAGS="-I${PREFIX}/include -I${LOCALBASE}/include -I${X11BASE}/include" \
 		LIBS="-L${PREFIX}/lib -L${LOCALBASE}/lib -L${X11BASE}/lib"
-CONFIGURE_ARGS=	--enable-ipv6 --prefix=${PREFIX} --with-included-gettext \
+CONFIGURE_ARGS=	--enable-ipv6 \
+		--prefix=${PREFIX} \
+		--with-libintl-prefix=${LOCALBASE} \
 		--program-transform-name=''
 
 .if !defined(WITHOUT_SSL)
@@ -76,7 +81,7 @@
 .else
 CONFIGURE_ARGS+=--disable-ssl
 .endif
- 
+
 MAKEFILES=	Makefile.in ac/Makefile.in faq/Makefile.in faq/de/Makefile.in \
 		faq/en/Makefile.in faq/es/Makefile.in faq/fr/Makefile.in \
 		faq/it/Makefile.in manual/Makefile.in manual/en/Makefile.in \
diff -ruN sylpheed/pkg-plist sylpheed.patched/pkg-plist
--- sylpheed/pkg-plist	Mon Jul  7 04:22:24 2003
+++ sylpheed.patched/pkg-plist	Thu Oct 23 16:26:46 2003
@@ -1,5 +1,4 @@
 bin/sylpheed
-lib/charset.alias
 %%PORTDOCS%%%%DOCSDIR%%/ChangeLog
 %%PORTDOCS%%%%DOCSDIR%%/ChangeLog.jp
 %%PORTDOCS%%%%DOCSDIR%%/INSTALL
@@ -21,7 +20,6 @@
 share/locale/it/LC_MESSAGES/sylpheed.mo
 share/locale/ja/LC_MESSAGES/sylpheed.mo
 share/locale/ko/LC_MESSAGES/sylpheed.mo
-share/locale/locale.alias
 share/locale/nl/LC_MESSAGES/sylpheed.mo
 share/locale/pl/LC_MESSAGES/sylpheed.mo
 share/locale/pt_BR/LC_MESSAGES/sylpheed.mo
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->oliver 
Responsible-Changed-By: sergei 
Responsible-Changed-When: Thu Oct 23 08:15:16 PDT 2003 
Responsible-Changed-Why:  
Over to maintainer. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=58441 
State-Changed-From-To: open->closed 
State-Changed-By: oliver 
State-Changed-When: Mon Oct 27 23:44:26 PST 2003 
State-Changed-Why:  
Committed, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=58441 
>Unformatted:
