summaryrefslogtreecommitdiff
path: root/mail/qmail-scanner
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2007-12-15 22:26:01 +0000
committerPav Lucistnik <pav@FreeBSD.org>2007-12-15 22:26:01 +0000
commitc582c8bc2780ef563e8ee98f9bb0b1be037cf524 (patch)
tree6c010a653568f9bd5cfcf1c2b232171ba4f7d5e8 /mail/qmail-scanner
parentUpdate to 3.50. (diff)
- Properly pass QS_USER, QS_ADMIN and QS_NOTIFY values to configure script
PR: ports/118139 Submitted by: Rainer Schwarze <rsc@admadic.de>, Felippe de Meirelles Motta <lippe@freebsdbrasil.com.br> (maintainer) (patch used)
Notes
Notes: svn path=/head/; revision=203814
Diffstat (limited to 'mail/qmail-scanner')
-rw-r--r--mail/qmail-scanner/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/mail/qmail-scanner/Makefile b/mail/qmail-scanner/Makefile
index da0f9d7d249e..326342e394d3 100644
--- a/mail/qmail-scanner/Makefile
+++ b/mail/qmail-scanner/Makefile
@@ -85,11 +85,11 @@ CONFIGURE_ARGS+= --redundant no
CONFIGURE_ARGS+= --normalize no
.endif
-.if !defined(QS_USER)
+.if defined(QS_USER)
CONFIGURE_ARGS+= --qs-user "${QS_USER}"
.endif
-.if !defined(QS_ADMIN)
+.if defined(QS_ADMIN)
CONFIGURE_ARGS+= --admin "${QS_ADMIN}"
.endif
@@ -105,7 +105,9 @@ CONFIGURE_ARGS+= --scanners "${QS_SCANNERS}"
CONFIGURE_ARGS+= --skip-text-msgs "${QS_SKIP_MSGS}"
.endif
-.if !defined(QS_NOTIFY)
+.if defined(QS_NOTIFY)
+CONFIGURE_ARGS+= --notify "${QS_NOTIFY}"
+.else
CONFIGURE_ARGS+= --notify psender,precips
.endif