summaryrefslogtreecommitdiff
path: root/Mk
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2010-11-17 21:06:43 +0000
committerPav Lucistnik <pav@FreeBSD.org>2010-11-17 21:06:43 +0000
commit627be0e01cd1f8b3c1b1008e3c7e8be74e7879da (patch)
tree93b1972422f38084f93818be0f282cd4da0215b2 /Mk
parent- Update to 1.2. (diff)
- no-op/style: make use of an assigned variable
PR: ports/152090 Submitted by: Eitan Adler <lists@eitanadler.com>
Notes
Notes: svn path=/head/; revision=264713
Diffstat (limited to 'Mk')
-rw-r--r--Mk/bsd.port.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk
index f9b22080b9ab..dca49e48d0d8 100644
--- a/Mk/bsd.port.mk
+++ b/Mk/bsd.port.mk
@@ -6035,7 +6035,7 @@ config:
elif [ ! -z "$${withoutval}" ]; then \
val=off; \
else \
- val=$$3; \
+ val=$${defaultval}; \
fi; \
DEFOPTIONS="$${DEFOPTIONS} $$1 \"$$2\" $${val}"; \
shift 3; \
@@ -6140,7 +6140,7 @@ showconfig:
elif [ ! -z "$${withoutval}" ]; then \
val=off; \
else \
- val="$$3 (default)"; \
+ val="$${defaultval} (default)"; \
fi; \
${ECHO_MSG} " $$1=$${val} \"$$2\""; \
shift 3; \