summaryrefslogtreecommitdiff
path: root/security
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
parentOops. My last commit left out the 'MASTER_SITE_SUBDIR'. This fixes (diff)
Check SENDMAIL_VERSION only if defined
Diffstat (limited to 'security')
-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