summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--security/broccoli/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/security/broccoli/Makefile b/security/broccoli/Makefile
index 68aef0682bb5..c1b659482939 100644
--- a/security/broccoli/Makefile
+++ b/security/broccoli/Makefile
@@ -59,7 +59,7 @@ post-install::
.endif
@${MKDIR} ${STAGEDIR}${PREFIX}/etc
@${MV} ${STAGEDIR}${PREFIX}/etc/broccoli.conf ${STAGEDIR}${PREFIX}/etc/broccoli.conf.example
-.if defined(BRO_PREFIX)
+.if !empty(${PORT_OPTIONS:MPYTHON}) && defined(BRO_PREFIX)
# bsd.python.mk isn't PREFIX-safe yet.
@${MV} ${STAGEDIR}${PYTHON_LIBDIR} ${STAGEDIR}${PYTHON_LIBDIR:S/${LOCALBASE}/${PREFIX}/}
.endif