diff options
author | roam <roam@FreeBSD.org> | 2001-09-03 16:04:36 +0800 |
---|---|---|
committer | roam <roam@FreeBSD.org> | 2001-09-03 16:04:36 +0800 |
commit | 9e205723f3551f39716ef94bdd23e53bad205908 (patch) | |
tree | 01a2966399c7c0f58ba0b7e8b0e109a5a7eb1fdf /mail/fetchmail | |
parent | d195828be460a761fc40ebeb7258819ef6dcfda9 (diff) | |
download | freebsd-ports-gnome-9e205723f3551f39716ef94bdd23e53bad205908.tar.gz freebsd-ports-gnome-9e205723f3551f39716ef94bdd23e53bad205908.tar.zst freebsd-ports-gnome-9e205723f3551f39716ef94bdd23e53bad205908.zip |
For the X11 case, when tkinter is needed, look for it the right way -
by USE_PYTHON and PYTHON_VERSION instead of hardcoding a python2.0
path component.
Bump PORTREVISION accordingly.
Apologies to Ville for committing this without maintainer approval,
but the ports freeze is so close, and this looks like a trivial
build fix..
PR: 30271
Submitted by: John Merryweather Cooper <jmcoopr@webmail.bmi.net>
Diffstat (limited to 'mail/fetchmail')
-rw-r--r-- | mail/fetchmail/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/mail/fetchmail/Makefile b/mail/fetchmail/Makefile index 81eb8144fd0a..e311d31b0733 100644 --- a/mail/fetchmail/Makefile +++ b/mail/fetchmail/Makefile @@ -11,6 +11,7 @@ PORTNAME= fetchmail PORTVERSION= 5.8.17 +PORTREVISION= 1 CATEGORIES= mail ipv6 MASTER_SITES= http://www.tuxedo.org/~esr/fetchmail/ \ ftp://ftp.ccil.org/pub/esr/fetchmail/ @@ -19,7 +20,8 @@ MAINTAINER= ve@sci.fi LIB_DEPENDS= intl.1:${PORTSDIR}/devel/gettext .if defined(WITH_X11) -RUN_DEPENDS= ${LOCALBASE}/lib/python2.0/site-packages/_tkinter.so:${PORTSDIR}/x11-toolkits/py-tkinter +USE_PYTHON= yes +RUN_DEPENDS= ${LOCALBASE}/lib/${PYTHON_VERSION}/site-packages/_tkinter.so:${PORTSDIR}/x11-toolkits/py-tkinter .endif USE_GMAKE= yes |