From sas@sahiro.homeip.net  Thu Jan 17 03:08:49 2002
Return-Path: <sas@sahiro.homeip.net>
Received: from sahiro.homeip.net (p117-dna05sawada.niigata.ocn.ne.jp [211.122.195.245])
	by hub.freebsd.org (Postfix) with ESMTP id AA20B37B402
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 17 Jan 2002 03:08:48 -0800 (PST)
Received: by sahiro.merseine.nu (Postfix)
	id 599F6BB07; Thu, 17 Jan 2002 20:08:42 +0859 (JST)
Message-Id: <20020117110904.599F6BB07@sahiro.merseine.nu>
Date: Thu, 17 Jan 2002 20:08:42 +0859 (JST)
From: SASAKI Katuhiro <sahiro@crest.ocn.ne.jp>
Reply-To:
To: FreeBSD-gnats-submit@freebsd.org
Cc: lehmann@ans-netz.de
Subject: Update port: mail/sylpheed (fix to work WITH_COMPFACE option)
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         33984
>Category:       ports
>Synopsis:       Update port: mail/sylpheed (fix to work WITH_COMPFACE option)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jan 17 03:10:02 PST 2002
>Closed-Date:    Fri Jan 18 02:07:30 PST 2002
>Last-Modified:  Fri Jan 18 02:07:41 PST 2002
>Originator:     SASAKI Katuhiro
>Release:        FreeBSD 4.4-RELEASE-p2 i386
>Organization:
personal
>Environment:
>Description:
At now, WITH_COMPFACE option does not work as shown below.
Small fix seems to be needed.

# make WITH_COMPFACE=yes configure
...
sylpheed 0.7.0

gdk-pixbuf : no
gdk_imlib  : yes
GPGME      : no
JPilot     : no
LDAP       : no
OpenSSL    : yes
compface   : no
libjconv   : no
IPv6       : yes

The binary will be installed in /usr/X11R6/bin

Configure finished, type 'make' to build.

>How-To-Repeat:
>Fix:
diff -urN /usr/ports/mail/sylpheed/Makefile sylpheed/Makefile
--- /usr/ports/mail/sylpheed/Makefile	Thu Jan 10 00:03:52 2002
+++ sylpheed/Makefile	Thu Jan 17 19:45:04 2002
@@ -18,8 +18,8 @@
 USE_IMLIB=	yes
 USE_LIBTOOL=	yes
 
-CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
-		LIBS="-L${LOCALBASE}/lib"
+CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \
+		LIBS="-L${LOCALBASE}/lib -L${X11BASE}/lib"
 CONFIGURE_ARGS=	--enable-ipv6 --prefix=${PREFIX} --with-included-gettext
 
 .if defined(WITH_PIXBUF)
>Release-Note:
>Audit-Trail:

From: SASAKI Katuhiro <sahiro@crest.ocn.ne.jp>
To: Oliver Lehmann <o.lehmann@brainwire.de>
Cc: FreeBSD-gnats-submit@freebsd.org, lehmann@ans-netz.de
Subject: Re: ports/33984: Update port: mail/sylpheed (fix to work WITH_COMPFACE option)
Date: Fri, 18 Jan 2002 07:51:35 +0900

 Hi.
 Thank you for your reply, Lehmann.
 
 I found two more not good point. Please review.
 
 i) When WITH_PIXBUF is defined, sylpheed does not link imlib 
 (graphics/imlib). Nevertheless,  imlib still appears in 
 dependency list.
 
 ii) When WITH_JPILOT is defined, sylphed does not link libraries 
 inclued in jpilot (palm/jpilot) package. It links libpisock 
 included in pilot-link (palm/pilot-link). I'm sorry patch I 
 previously sent you was wrong.
 
 New patch is as described below. Please use this instead of 
 previous one.
 
 Thank you.
 
 
 diff -urN /usr/ports/mail/sylpheed/Makefile sylpheed/Makefile
 --- /usr/ports/mail/sylpheed/Makefile	Thu Jan 17 18:55:34 2002
 +++ sylpheed/Makefile	Thu Jan 17 21:05:05 2002
 @@ -15,11 +15,11 @@
  USE_BZIP2=	yes
  USE_GMAKE=	yes
  USE_X_PREFIX=	yes
 -USE_IMLIB=	yes
 +USE_GTK=	yes
  USE_LIBTOOL=	yes
  
 -CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
 -		LIBS="-L${LOCALBASE}/lib"
 +CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \
 +		LIBS="-L${LOCALBASE}/lib -L${X11BASE}/lib"
  CONFIGURE_ARGS=	--enable-ipv6 --prefix=${PREFIX} --with-included-gettext
  
  .if defined(WITH_PIXBUF)
 @@ -49,9 +49,9 @@
  CONFIGURE_ARGS+=--disable-jconv
  .endif
  .if defined(WITH_JPILOT)
 -LIB_DEPENDS+=	expense.1:${PORTSDIR}/palm/jpilot
 +LIB_DEPENDS+=	pisock.4:${PORTSDIR}/palm/pilot-link
 +RUN_DEPENDS+=	${LOCALBASE}/pilot/bin/jpilot:${PORTSDIR}/palm/jpilot
  CONFIGURE_ARGS+=--enable-jpilot
 -CFLAGS+=	-I${LOCALBASE}/pilot/include
  .else
  CONFIGURE_ARGS+=	--disable-jpilot
  .endif
 
 
 ================================================================
                        SASAKI Katuhiro
 
                 mailto: sahiro@crest.ocn.ne.jp
 ================================================================
State-Changed-From-To: open->closed 
State-Changed-By: pat 
State-Changed-When: Fri Jan 18 02:07:30 PST 2002 
State-Changed-Why:  
Fixed, Thanks! 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=33984 
>Unformatted:
