ports/180716: [patch] mail/sylpheed: remove aspell and pinentry dependencies
Tijl Coosemans
tijl at FreeBSD.org
Sun Jul 21 09:40:00 UTC 2013
>Number: 180716
>Category: ports
>Synopsis: [patch] mail/sylpheed: remove aspell and pinentry dependencies
>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: Sun Jul 21 09:40:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator: Tijl Coosemans
>Release: FreeBSD 10.0-CURRENT i386
>Organization:
>Environment:
>Description:
- Since gtkspell uses enchant which supports several spellchecking
backends the dependency on aspell isn't necessary anymore.
- Also remove dependency on pinentry-gtk2 to allow users to install
one of the other pinentry ports.
- Remove bsd.openssl.mk hack.
>How-To-Repeat:
>Fix:
--- sylpheed.patch begins here ---
Index: mail/sylpheed/Makefile
===================================================================
--- mail/sylpheed/Makefile (revision 323372)
+++ mail/sylpheed/Makefile (working copy)
@@ -3,7 +3,7 @@
PORTNAME= sylpheed
PORTVERSION= 3.3.0
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= mail ipv6
MASTER_SITES= http://sylpheed.sraoss.jp/sylpheed/v${PORTVERSION:C/\.[^\.]*$//}/ \
CRITICAL
@@ -11,7 +11,6 @@ MASTER_SITES= http://sylpheed.sraoss.jp/
MAINTAINER= ehaupt at FreeBSD.org
COMMENT= Lightweight, featureful, and fast GTK+ based e-mail client
-LIB_DEPENDS= aspell:${PORTSDIR}/textproc/aspell
RUN_DEPENDS= ${LOCALBASE}/etc/mime.types:${PORTSDIR}/misc/mime-support
USES= gettext iconv gmake
@@ -45,8 +44,7 @@ OPTIONS_DEFAULT=SSL GTKSPELL
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MSSL}
-# we can't use USE_OPENSSL=yes after including bsd.port.pre.mk
-.include "${PORTSDIR}/Mk/bsd.openssl.mk"
+USE_OPENSSL= yes
CONFIGURE_ARGS+=--enable-ssl
.else
CONFIGURE_ARGS+=--disable-ssl
@@ -54,8 +52,7 @@ CONFIGURE_ARGS+=--disable-ssl
.if ${PORT_OPTIONS:MGPGME}
LIB_DEPENDS+= gpgme:${PORTSDIR}/security/gpgme
-RUN_DEPENDS+= gpg:${PORTSDIR}/security/gnupg \
- pinentry-gtk-2:${PORTSDIR}/security/pinentry-gtk2
+RUN_DEPENDS+= gpg:${PORTSDIR}/security/gnupg
CONFIGURE_ARGS+=--enable-gpgme
.else
CONFIGURE_ARGS+=--disable-gpgme
@@ -105,8 +102,7 @@ MAKEFILES= Makefile.in ac/Makefile.in fa
post-patch:
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS:S/"//g}|g; \
- s|-lresolv||g; s|-lpisock\"|-liconv &|g; \
- s|libs gtkspell-2\.0`|& -laspell|g;' \
+ s|-lresolv||g; s|-lpisock\"|-liconv &|g;' \
${WRKSRC}/configure
@${REINPLACE_CMD} -e 's|/etc|${LOCALBASE}&|g' \
${WRKSRC}/libsylph/procmime.c
--- sylpheed.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list