summaryrefslogtreecommitdiff
path: root/mk/pkg-build-options.mk
diff options
context:
space:
mode:
authorwiz <wiz>2012-12-17 14:27:44 +0000
committerwiz <wiz>2012-12-17 14:27:44 +0000
commitfa817c83852e50aa558c237c639d080c1051c52d (patch)
tree311788930e92e74672525a9975bef5b2740c621d /mk/pkg-build-options.mk
parent37c378d6f8f8c5ff845f3e4feea70bc8c9255f88 (diff)
downloadpkgsrc-fa817c83852e50aa558c237c639d080c1051c52d.tar.gz
Fix typo in loop (wrong variable used).
Ok gdt.
Diffstat (limited to 'mk/pkg-build-options.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; }