Date: Sun, 2 Sep 2001 13:40:48 -0700 (PDT) From: John Merryweather Cooper <jmcoopr@webmail.bmi.net> To: FreeBSD-gnats-submit@freebsd.org Cc: ve@sci.fi Subject: ports/30271: [PATCH] Build of fetchmail chokes on pytinker dependency Message-ID: <200109022040.f82Kem836197@johncoop.MSHOME>
next in thread | raw e-mail | index | archive | help
>Number: 30271 >Category: ports >Synopsis: [PATCH] Build of fetchmail chokes on pytinker dependency >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Sep 02 13:50:03 PDT 2001 >Closed-Date: >Last-Modified: >Originator: John Merryweather Cooper >Release: FreeBSD 4.4-RC i386 >Organization: >Environment: System: FreeBSD johncoop.MSHOME 4.4-RC FreeBSD 4.4-RC #30: Sat Sep 1 19:39:07 PDT 2001 jmcoopr@johncoop.MSHOME:/usr/obj/usr/src/sys/JOHNCOOP i386 >Description: Since the update of python to 2.1.x, the fetchmail build with X11=yes is broken because it hardcodes python2.0 into the directory path for the pytinker dependency. This patch fixes that. >How-To-Repeat: Build fetchmail with WITH_X11=yes >Fix: diff -ruN fetchmail/Makefile fetchmail.new/Makefile --- fetchmail/Makefile Thu Aug 9 14:35:36 2001 +++ fetchmail.new/Makefile Sun Sep 2 13:35:06 2001 @@ -2,7 +2,7 @@ # Date created: 25 Feb 2000 # Whom: Ville Eerola <ve@sci.fi> # -# $FreeBSD: ports/mail/fetchmail/Makefile,v 1.127 2001/08/09 21:35:36 kris Exp $ +# $FreeBSD$ # # NOTE: The fetchmailconf program (an interactive program for # writing .fetchmailrc files) requires Python, Tk, X11, etc.. @@ -19,7 +19,8 @@ LIB_DEPENDS= intl.1:${PORTSDIR}/devel/gettext .if defined(WITH_X11) -RUN_DEPENDS= ${LOCALBASE}/lib/python2.0/site-packages/_tkinter.so:${PORTSDIR}/x11-toolkits/py-tkinter +USE_PYTHON= yes +RUN_DEPENDS= ${LOCALBASE}/lib/${PYTHON_VERSION}/site-packages/_tkinter.so:${PORTSDIR}/x11-toolkits/py-tkinter .endif USE_GMAKE= yes >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200109022040.f82Kem836197>