From myself@cae88-102-101.sc.rr.com  Wed Nov 29 16:53:17 2000
Return-Path: <myself@cae88-102-101.sc.rr.com>
Received: from cae88-102-101.sc.rr.com (unknown [24.88.102.101])
	by hub.freebsd.org (Postfix) with ESMTP id 39FC537B402
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 29 Nov 2000 16:53:16 -0800 (PST)
Received: (from myself@localhost)
	by cae88-102-101.sc.rr.com (8.11.1/8.9.3) id eAU0rWp70958;
	Wed, 29 Nov 2000 19:53:32 -0500 (EST)
	(envelope-from myself)
Message-Id: <200011300053.eAU0rWp70958@cae88-102-101.sc.rr.com>
Date: Wed, 29 Nov 2000 19:53:32 -0500 (EST)
From: "Donald J. Maddox" <dmaddox@sc.rr.com>
Sender: myself@cae88-102-101.sc.rr.com
Reply-To: dmaddox@sc.rr.com
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: Fetchmail port has a broken dependency when WITH_X11 is defined
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         23184
>Category:       ports
>Synopsis:       Fetchmail port has a broken dependency when WITH_X11 defined
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    roam
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Nov 29 17:00:05 PST 2000
>Closed-Date:    Thu Nov 30 00:51:52 PST 2000
>Last-Modified:  Thu Nov 30 00:52:38 PST 2000
>Originator:     Donald J. Maddox
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
>Environment:
System: FreeBSD cae88-102-101.sc.rr.com 5.0-CURRENT FreeBSD 5.0-CURRENT #0: Tue Nov 21 10:21:43 EST 2000 root@cae88-102-101.sc.rr.com:/usr/src/sys/compile/RHIANNON i386

>Description:
	The fetchmail port has a RUN_DEPENDS on py-tkinter when WITH_X11
is defined.  It checks for a py-tkinter installation by looking for
${LOCALBASE}/lib/python1.5/site-packages/_tkinter.so.  Unfortunately,
the py-tkinter port actually uses python-2.0, not python-1.5, so this
dependency test can never succeed.

>How-To-Repeat:
	
$ cd /usr/ports/mail/fetchmail
$ make -DWITH_X11 install

>Fix:

--- Makefile.orig	Sun Nov 26 20:00:19 2000
+++ Makefile	Wed Nov 29 19:37:16 2000
@@ -19,7 +19,7 @@
 
 LIB_DEPENDS=	intl.1:${PORTSDIR}/devel/gettext
 .if defined(WITH_X11)
-RUN_DEPENDS=	${LOCALBASE}/lib/python1.5/site-packages/_tkinter.so:${PORTSDIR}/x11-toolkits/py-tkinter
+RUN_DEPENDS=	${LOCALBASE}/lib/python2.0/site-packages/_tkinter.so:${PORTSDIR}/x11-toolkits/py-tkinter
 .endif
 
 GNU_CONFIGURE=	yes

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: roam 
State-Changed-When: Thu Nov 30 00:51:52 PST 2000 
State-Changed-Why:  
Committed, thanks for the alert! 


Responsible-Changed-From-To: freebsd-ports->roam 
Responsible-Changed-By: roam 
Responsible-Changed-When: Thu Nov 30 00:51:52 PST 2000 
Responsible-Changed-Why:  
Me like fetchmail PR's much much well :) 

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