ports/58441: mail/sylpheed: fix libintl and libiconv depedencies => avoid conflicts with other ports

Simon Barner barner at in.tum.de
Thu Oct 23 14:50:26 UTC 2003


>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:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Oct 23 07:50:22 PDT 2003
>Closed-Date:
>Last-Modified:
>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 at 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 at 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:
>Unformatted:



More information about the freebsd-ports-bugs mailing list