aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lang/rust/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/lang/rust/Makefile b/lang/rust/Makefile
index 0d040dcdc2ab..bdeddf9b0bed 100644
--- a/lang/rust/Makefile
+++ b/lang/rust/Makefile
@@ -79,7 +79,7 @@ post-patch:
${REINPLACE_CMD} \
-e '/get-snapshot.py $$(CFG_HOST_TRIPLE)/d' \
${WRKSRC}/mk/stage0.mk
-.if !${PORT_OPTIONS:MCARGO}
+.if empty(PORT_OPTIONS:MCARGO)
${REINPLACE_CMD} \
-e '/$$(Q)$$(call INSTALL,$$(HB3),$$(PHB),cargo$$(X))/d' \
${WRKSRC}/mk/install.mk