aboutsummaryrefslogtreecommitdiff
path: root/security/drweb-sendmail
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>2002-01-31 07:25:13 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>2002-01-31 07:25:13 +0000
commitc9f2cf79c90019a099ac57b6e70ee4b54066547e (patch)
treea624c61b4ad0243a1ec62b7c412ebfeb0c30eab1 /security/drweb-sendmail
parentd793ef67f1e3cf10e31b5445a21bc5165b02be8d (diff)
downloadports-c9f2cf79c90019a099ac57b6e70ee4b54066547e.tar.gz
ports-c9f2cf79c90019a099ac57b6e70ee4b54066547e.zip
Check SENDMAIL_VERSION only if defined
Notes
Notes: svn path=/head/; revision=54066
Diffstat (limited to 'security/drweb-sendmail')
-rw-r--r--security/drweb-sendmail/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/security/drweb-sendmail/Makefile b/security/drweb-sendmail/Makefile
index 3b8f07626d52..548443dd32b7 100644
--- a/security/drweb-sendmail/Makefile
+++ b/security/drweb-sendmail/Makefile
@@ -59,10 +59,10 @@ post-configure:
${MKDIR} ${WRKSRC}/libmilter ${WRKSRC}/libsmutil
${CP} ${FILESDIR}/Makefile.libmilter ${WRKSRC}/libmilter/Makefile
${CP} ${FILESDIR}/Makefile.libsmutil ${WRKSRC}/libsmutil/Makefile
-.if ${SENDMAIL_VERSION} == "8.11.1"
+.if defined(SENDMAIL_VERSION) && ${SENDMAIL_VERSION} == "8.11.1"
${CP} ${WITH_DRWEBSMF_SENDMAIL_DIR}/libmilter/listener.c ${WRKSRC}/libmilter
cd ${WRKSRC}/libmilter && ${PATCH} < ${WRKSRC}/../sendmail/listener-8.11.1.patch
-.elif ${SENDMAIL_VERSION} == "8.12.0"
+.elif defined(SENDMAIL_VERSION) && ${SENDMAIL_VERSION} == "8.12.0"
${CP} ${WITH_DRWEBSMF_SENDMAIL_DIR}/libmilter/listener.c ${WRKSRC}/libmilter
cd ${WRKSRC}/libmilter && ${PATCH} < ${WRKSRC}/../sendmail/listener-8.12.0.patch
.endif