summaryrefslogtreecommitdiff
path: root/mk/bsd.pkg.mk
diff options
context:
space:
mode:
authorreed <reed>2006-05-06 03:28:44 +0000
committerreed <reed>2006-05-06 03:28:44 +0000
commit42728b9623c9ed360c5b00cb1005b4e9b721416a (patch)
treec7ec49327ac49b7abe69dfb97853d88b54dbbe40 /mk/bsd.pkg.mk
parente33d6b3ab2ef0f5786477b99c0b595e0939c6f91 (diff)
downloadpkgsrc-42728b9623c9ed360c5b00cb1005b4e9b721416a.tar.gz
If USE_ABI_DEPENDS=no, do not add the BUILDLINK_ABI_DEPENDS.$pkg
to BUILD_DEPENDS. (I posted about this to pkgsrc-users on April 14.)
Diffstat (limited to 'mk/bsd.pkg.mk')
-rw-r--r--mk/bsd.pkg.mk5
1 files changed, 3 insertions, 2 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk
index 7df9150b26e..d53d177fa65 100644
--- a/mk/bsd.pkg.mk
+++ b/mk/bsd.pkg.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.mk,v 1.1820 2006/04/26 05:58:44 jlam Exp $
+# $NetBSD: bsd.pkg.mk,v 1.1821 2006/05/06 03:28:44 reed Exp $
#
# This file is in the public domain.
#
@@ -768,9 +768,10 @@ USE_LANGUAGES?= # empty
.include "../../mk/wrapper/bsd.wrapper.mk"
-.if defined(ABI_DEPENDS)
+.if defined(ABI_DEPENDS) || defined(BUILD_ABI_DEPENDS)
. if !empty(USE_ABI_DEPENDS:M[yY][eE][sS])
DEPENDS+= ${ABI_DEPENDS}
+BUILD_DEPENDS+= ${BUILD_ABI_DEPENDS}
. else
BUILD_DEFS+= USE_ABI_DEPENDS
. endif