ports/115714: USE_PYTHON in mail/fetchmail

Jacula Modyun jacula at gmail.com
Wed Aug 22 11:10:02 UTC 2007


>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 at 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:



More information about the freebsd-ports-bugs mailing list