svn commit: r310168 - head/mail/fetchmail/files
Matthias Andree
mandree at FreeBSD.org
Thu Jan 10 01:46:38 UTC 2013
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
More information about the svn-ports-all
mailing list