From b2c34b3987900a9cd90ecf82b15db46b67dbdffb Mon Sep 17 00:00:00 2001 From: Bryan Drewery Date: Mon, 18 Mar 2013 00:20:56 +0000 Subject: - Rename and add missing description for QMAIL_PORT This is kept mostly for backwards compatibility. Our mail/qmail uses 'qnofiles' group instead of qmail's default 'nofiles'. Using QMAIL_PORT means you want to use the ports version of qmail and not a custom install --- mail/queue-repair/Makefile | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/mail/queue-repair/Makefile b/mail/queue-repair/Makefile index 3563fc29b100..dcf817a223de 100644 --- a/mail/queue-repair/Makefile +++ b/mail/queue-repair/Makefile @@ -12,12 +12,13 @@ COMMENT= Qmail queue diagnostic and repair tool USE_PYTHON= yes -OPTIONS_DEFINE= DOCS QMAIL -OPTIONS_DEFAULT= QMAIL +OPTIONS_DEFINE= DOCS QMAIL_PORT +OPTIONS_DEFAULT= QMAIL_PORT +QMAIL_PORT_DESC= Depend on qmail port .include -.if ${PORT_OPTIONS:MQMAIL} +.if ${PORT_OPTIONS:MQMAIL_PORT} USES= qmail:run .endif @@ -27,7 +28,7 @@ PORTDOCS= BLURB CHANGELOG TODO do-build: ${REINPLACE_CMD} -e 's,^#!/usr/bin/python,#!${PYTHON_CMD},' \ ${WRKSRC}/queue_repair.py -.if ${PORT_OPTIONS:MQMAIL} +.if ${PORT_OPTIONS:MQMAIL_PORT} ${REINPLACE_CMD} -e 's,nofiles,qnofiles,' ${WRKSRC}/queue_repair.py .endif -- cgit v1.2.3