aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>2002-01-31 15:25:13 +0800
committerache <ache@FreeBSD.org>2002-01-31 15:25:13 +0800
commit4bb48ac00c64132f1f46e314c8c0f179fd77ce6e (patch)
tree4fca941868058896b7bb7afd79fbf1ddf1bca224
parent5c6597d61ae56eeb02ca384bc547632e038a8bc1 (diff)
downloadfreebsd-ports-gnome-4bb48ac00c64132f1f46e314c8c0f179fd77ce6e.tar.gz
freebsd-ports-gnome-4bb48ac00c64132f1f46e314c8c0f179fd77ce6e.tar.zst
freebsd-ports-gnome-4bb48ac00c64132f1f46e314c8c0f179fd77ce6e.zip
Check SENDMAIL_VERSION only if defined
-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