summaryrefslogtreecommitdiff
path: root/lang/rust
diff options
context:
space:
mode:
authorLi-Wen Hsu <lwhsu@FreeBSD.org>2012-06-28 02:09:37 +0000
committerLi-Wen Hsu <lwhsu@FreeBSD.org>2012-06-28 02:09:37 +0000
commitc649cf25a9356cc2eb472183cddffbb495dd105e (patch)
treefc06b1c9687f2f324913c6118c2eacdbe66261c5 /lang/rust
parent- Add AGPLv3 to the list, missed in last commit (diff)
- Use empty() to check if an option is not set
PR: ports/169051 Submitted by: Jyun-Yan You <jyyou@cs.nctu.edu.tw> (maintainer)
Notes
Notes: svn path=/head/; revision=300127
Diffstat (limited to 'lang/rust')
-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