aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mail/opendkim/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/mail/opendkim/Makefile b/mail/opendkim/Makefile
index 9efd03c4246f..59709003fab4 100644
--- a/mail/opendkim/Makefile
+++ b/mail/opendkim/Makefile
@@ -141,7 +141,7 @@ PLIST_SUB+= LUA="@comment "
.endif
post-install:
-.if !defined(WITH_DEBUG)
+.if !defined(WITH_DEBUG) && defined(WITH_FILTER) && !defined(WITHOUT_FILTER)
@${STRIP_CMD} ${PREFIX}/sbin/opendkim
.endif
@${MKDIR} ${PREFIX}/etc/mail