diff options
author | Peter Pentchev <roam@FreeBSD.org> | 2001-09-03 08:04:36 +0000 |
---|---|---|
committer | Peter Pentchev <roam@FreeBSD.org> | 2001-09-03 08:04:36 +0000 |
commit | 80d75a2a4e4d552f46de3204c9d78250b4d83842 (patch) | |
tree | 61fa8f2dbea0638ade14f7b2a458d99bcfdbafe4 | |
parent | Correct version number of libpisock. (diff) |
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>
Notes
Notes:
svn path=/head/; revision=47347
-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 |