diff options
author | ade <ade@FreeBSD.org> | 2000-06-21 02:43:34 +0800 |
---|---|---|
committer | ade <ade@FreeBSD.org> | 2000-06-21 02:43:34 +0800 |
commit | 3ccddcefaad6f2fdcf69f3c14ee2b154e22fef30 (patch) | |
tree | fe14d0bb97f922be7f093c808dbafa04070055cb /mail/fetchmail | |
parent | ea7fd93d984ab34538490484b7c31449f62a0358 (diff) | |
download | freebsd-ports-gnome-3ccddcefaad6f2fdcf69f3c14ee2b154e22fef30.tar.gz freebsd-ports-gnome-3ccddcefaad6f2fdcf69f3c14ee2b154e22fef30.tar.zst freebsd-ports-gnome-3ccddcefaad6f2fdcf69f3c14ee2b154e22fef30.zip |
Add WITH_X11 knob to bring in Python et al. so the fetchmailconf
program works. Disabled by default, to keep the status-quo.
Loosely based on PR: 19398
Discussed with: alex
Diffstat (limited to 'mail/fetchmail')
-rw-r--r-- | mail/fetchmail/Makefile | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/mail/fetchmail/Makefile b/mail/fetchmail/Makefile index 3f1f742da027..744d2ededa5c 100644 --- a/mail/fetchmail/Makefile +++ b/mail/fetchmail/Makefile @@ -5,10 +5,9 @@ # $FreeBSD$ # # NOTE: The fetchmailconf program (an interactive program for -# writing .fetchmailrc files) requires Python, found in the Ports -# Collection under lang/python. The fetchmail program itself -# does not need Python, so there is no RUN_DEPENDS for Python in -# this Makefile. +# writing .fetchmailrc files) requires Python, Tk, X11, etc.. +# The fetchmail program itself does not need Python, but if you +# want fetchmailconf to work, define WITH_X11 PORTNAME= fetchmail PORTVERSION= 5.4.1 @@ -18,6 +17,11 @@ MASTER_SITES= ftp://ftp.ccil.org/pub/esr/fetchmail/ MAINTAINER= ve@sci.fi LIB_DEPENDS= intl.1:${PORTSDIR}/devel/gettext + +.if defined(WITH_X11) +RUN_DEPENDS= ${LOCALBASE}/lib/python1.5/site-packages/_tkinter.so:${PORTSDIR}/x11-toolkits/py-tkinter +.endif + GNU_CONFIGURE= yes CONFIGURE_ARGS= --enable-OPIE --enable-RPA --enable-POP2 --enable-SDPS \ --enable-nls |