From tijl@coosemans.org  Sun Jul 21 09:35:12 2013
Return-Path: <tijl@coosemans.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1])
	by hub.freebsd.org (Postfix) with ESMTP id 9D9955CA
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 21 Jul 2013 09:35:12 +0000 (UTC)
	(envelope-from tijl@coosemans.org)
Received: from mailrelay001.isp.belgacom.be (mailrelay001.isp.belgacom.be [195.238.6.51])
	by mx1.freebsd.org (Postfix) with ESMTP id 40E5DE74
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 21 Jul 2013 09:35:11 +0000 (UTC)
Received: from 81.126-242-81.adsl-dyn.isp.belgacom.be (HELO kalimero.tijl.coosemans.org) ([81.242.126.81])
  by relay.skynet.be with ESMTP; 21 Jul 2013 11:35:04 +0200
Received: from kalimero.tijl.coosemans.org (kalimero.tijl.coosemans.org [127.0.0.1])
	by kalimero.tijl.coosemans.org (8.14.7/8.14.7) with ESMTP id r6L9Z3RC001626
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 21 Jul 2013 11:35:03 +0200 (CEST)
	(envelope-from tijl@kalimero.tijl.coosemans.org)
Received: (from tijl@localhost)
	by kalimero.tijl.coosemans.org (8.14.7/8.14.7/Submit) id r6L9Z3ng001625;
	Sun, 21 Jul 2013 11:35:03 +0200 (CEST)
	(envelope-from tijl)
Message-Id: <201307210935.r6L9Z3ng001625@kalimero.tijl.coosemans.org>
Date: Sun, 21 Jul 2013 11:35:03 +0200 (CEST)
From: Tijl Coosemans <tijl@FreeBSD.org>
Reply-To: Tijl Coosemans <tijl@FreeBSD.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [patch] mail/sylpheed: remove aspell and pinentry dependencies
X-Send-Pr-Version: 3.114
X-GNATS-Notify:

>Number:         180716
>Category:       ports
>Synopsis:       [patch] mail/sylpheed: remove aspell and pinentry dependencies
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    ehaupt
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jul 21 09:40:00 UTC 2013
>Closed-Date:    Tue Jul 23 10:49:18 CEST 2013
>Last-Modified:  Tue Jul 23 08:50:00 UTC 2013
>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@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:
Responsible-Changed-From-To: freebsd-ports-bugs->ehaupt 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Sun Jul 21 09:40:08 UTC 2013 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=180716 
State-Changed-From-To: open->closed 
State-Changed-By: tijl 
State-Changed-When: Tue Jul 23 10:48:17 CEST 2013 
State-Changed-Why:  
Committed in r323522. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=180716 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/180716: commit references a PR
Date: Tue, 23 Jul 2013 08:48:17 +0000 (UTC)

 Author: tijl
 Date: Tue Jul 23 08:48:04 2013
 New Revision: 323522
 URL: http://svnweb.freebsd.org/changeset/ports/323522
 
 Log:
   - 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.
   
   PR:		180716
   Approved by:	ehaupt (maintainer)
 
 Modified:
   head/mail/sylpheed/Makefile
 
 Modified: head/mail/sylpheed/Makefile
 ==============================================================================
 --- head/mail/sylpheed/Makefile	Tue Jul 23 08:16:00 2013	(r323521)
 +++ head/mail/sylpheed/Makefile	Tue Jul 23 08:48:04 2013	(r323522)
 @@ -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@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
 _______________________________________________
 svn-ports-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-ports-all
 To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
 
>Unformatted:
