summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2012-12-17 14:27:44 +0000
committerwiz <wiz@pkgsrc.org>2012-12-17 14:27:44 +0000
commitfaeb150c75b8a6d7714f13a562c21de25c4e9675 (patch)
tree311788930e92e74672525a9975bef5b2740c621d /mk
parent339b177ee34c3581af873c318b436f2ba4093b2c (diff)
downloadpkgsrc-faeb150c75b8a6d7714f13a562c21de25c4e9675.tar.gz
Fix typo in loop (wrong variable used).
Ok gdt.
Diffstat (limited to 'mk')
-rw-r--r--mk/pkg-build-options.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/pkg-build-options.mk b/mk/pkg-build-options.mk
index 4f72ffa1f2e..ffdc4508da5 100644
--- a/mk/pkg-build-options.mk
+++ b/mk/pkg-build-options.mk
@@ -1,4 +1,4 @@
-# $NetBSD: pkg-build-options.mk,v 1.8 2009/03/20 19:25:01 joerg Exp $
+# $NetBSD: pkg-build-options.mk,v 1.9 2012/12/17 14:27:44 wiz Exp $
#
# This procedure determines the PKG_OPTIONS that have been in effect
# when the package ${pkgbase} has been built. When the package is not
@@ -43,7 +43,7 @@ PKG_FAIL_REASON+= "[pkg-build-options.mk] This file may only be included from a
. if !defined(PKG_BUILD_OPTIONS.${b})
PKG_BUILD_OPTIONS.${b} != \
echo ""; \
- ${PKG_INFO} -Q PKG_OPTIONS ${pkgbase} 2>/dev/null \
+ ${PKG_INFO} -Q PKG_OPTIONS ${b} 2>/dev/null \
|| { cd ${BUILDLINK_PKGSRCDIR.${b}} \
&& ${MAKE} ${MAKEFLAGS} show-var VARNAME=PKG_OPTIONS; }