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 + .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 - # Pop2 is obsolete .if defined(WITH_POP2) CONFIGURE_ARGS+=--enable-POP2