aboutsummaryrefslogtreecommitdiffstats
path: root/mail/qmail-scanner
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2007-12-16 06:26:01 +0800
committerpav <pav@FreeBSD.org>2007-12-16 06:26:01 +0800
commitf61c701795a170593f9969e560256aafc10e6b0d (patch)
treed6e952ea4ce4501eedb4f8cdba39721f8a15b88e /mail/qmail-scanner
parentc66dc214b26a8f11a4d276f4c78d851190cb0509 (diff)
downloadfreebsd-ports-gnome-f61c701795a170593f9969e560256aafc10e6b0d.tar.gz
freebsd-ports-gnome-f61c701795a170593f9969e560256aafc10e6b0d.tar.zst
freebsd-ports-gnome-f61c701795a170593f9969e560256aafc10e6b0d.zip
- 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)
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