Date: Wed, 22 Aug 2007 03:38:54 -0700 (PDT) From: Jacula Modyun <jacula@gmail.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/115714: USE_PYTHON in mail/fetchmail Message-ID: <200708221038.l7MAcno1047583@splork.wirewater.yow> Resent-Message-ID: <200708221110.l7MBA2rb071170@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 115714 >Category: ports >Synopsis: USE_PYTHON in mail/fetchmail >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: Wed Aug 22 11:10:01 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Jacula Modyun >Release: FreeBSD 6.2-STABLE i386 >Organization: >Environment: System: FreeBSD splork.wirewater.yow 6.2-STABLE FreeBSD 6.2-STABLE #0: Fri Aug 17 08:30:29 UTC 2007 root@splork.wirewater.yow:/usr/obj/usr/src/sys/JACULA i386 >Description: It needs to include bsd.port.pre.mk, because USE_PYTHON is defined. >How-To-Repeat: In mail/fetchmail: setting WITH_X11= yes, PYTHON_VERSION variable is empty in the local enviroment. >Fix: --- patch-mail-fetchmail begins here --- diff -uNr fetchmail.orig/Makefile fetchmail/Makefile --- fetchmail.orig/Makefile 2007-08-22 10:19:56.000000000 +0000 +++ fetchmail/Makefile 2007-08-22 10:20:17.000000000 +0000 @@ -51,13 +51,14 @@ POP2 "Build pop2 support (obsolete)." off \ GSSAPI "Build GSSAPI support (requires KRB5_HOME to be set)" off +.include <bsd.port.pre.mk> + .if defined(WITH_X11) USE_PYTHON= yes +.include "${PORTSDIR}/Mk/bsd.python.mk" RUN_DEPENDS+= ${LOCALBASE}/lib/${PYTHON_VERSION}/site-packages/_tkinter.so:${PORTSDIR}/x11-toolkits/py-tkinter .endif -.include <bsd.port.pre.mk> - # Pop2 is obsolete .if defined(WITH_POP2) CONFIGURE_ARGS+=--enable-POP2 --- patch-mail-fetchmail ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200708221038.l7MAcno1047583>