Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Jan 2013 01:46:38 +0000 (UTC)
From:      Matthias Andree <mandree@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r310168 - head/mail/fetchmail/files
Message-ID:  <201301100146.r0A1kcPY002975@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mandree
Date: Thu Jan 10 01:46:37 2013
New Revision: 310168
URL: http://svnweb.freebsd.org/changeset/ports/310168

Log:
  Fix up my patch error.
  Not bumping PORTREVISION because there is no functional change,
  the script has either replaced itself through exec, or exited.

Modified:
  head/mail/fetchmail/files/fetchmailconf.in

Modified: head/mail/fetchmail/files/fetchmailconf.in
==============================================================================
--- head/mail/fetchmail/files/fetchmailconf.in	Thu Jan 10 01:36:21 2013	(r310167)
+++ head/mail/fetchmail/files/fetchmailconf.in	Thu Jan 10 01:46:37 2013	(r310168)
@@ -20,25 +20,3 @@ the FreeBSD Ports Collection in lang/pyt
 can be found in x11-toolkits/py-tkinter.
 EOF
 exit 1
-#!/bin/sh
-#
-# Wrapper for the real fetchmailconf.  Checks whether Python and Tkinter are
-# installed, and runs the real fetchmailconf or alerts the user, as appropriate.
-#
-# $FreeBSD$
-
-LOCALBASE=%%LOCALBASE%%
-
-if [ -x $LOCALBASE/bin/python ] ; then
-	PYTHON_VERSION=python$(${LOCALBASE}/bin/python -c 'import sys; print sys.version[:3]' 2>/dev/null)
-	if [ -e ${LOCALBASE}/lib/${PYTHON_VERSION}/site-packages/_tkinter.so ]; then
-		exec ${LOCALBASE}/libexec/fetchmailconf.py "$@"
-	fi
-fi
-cat <<EOF
-The fetchmailconf program requires Python with Tkinter, which does
-not appear to be installed on this system.  Python can be found in
-the FreeBSD Ports Collection in lang/python, and Tkinter for Python
-can be found in x11-toolkits/py-tkinter.
-EOF
-exit 1



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201301100146.r0A1kcPY002975>