summaryrefslogtreecommitdiff
path: root/databases/openldap-client
diff options
context:
space:
mode:
authorobache <obache>2014-07-21 12:57:20 +0000
committerobache <obache>2014-07-21 12:57:20 +0000
commit49b5eb577d6e232168c28abfaf5007d81be50fa3 (patch)
treec5fb14628e4822c5906f53f67623c24e9269a8d2 /databases/openldap-client
parentda1cd8f92bb079fb5ed77ee0282063ced7638f06 (diff)
downloadpkgsrc-49b5eb577d6e232168c28abfaf5007d81be50fa3.tar.gz
Prevent unsupported build option detection for the case using builtin one.
Fixes PR pkg/47221.
Diffstat (limited to 'databases/openldap-client')
-rw-r--r--databases/openldap-client/buildlink3.mk8
1 files changed, 7 insertions, 1 deletions
diff --git a/databases/openldap-client/buildlink3.mk b/databases/openldap-client/buildlink3.mk
index 7406287435f..069467a7ba2 100644
--- a/databases/openldap-client/buildlink3.mk
+++ b/databases/openldap-client/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.15 2014/02/12 23:17:39 tron Exp $
+# $NetBSD: buildlink3.mk,v 1.16 2014/07/21 12:57:20 obache Exp $
.include "../../mk/bsd.fast.prefs.mk"
@@ -14,6 +14,11 @@ BUILDLINK_PKGSRCDIR.openldap-client?= ../../databases/openldap-client
# Export the deprecated API from the openldap-2.2.x releases.
BUILDLINK_CPPFLAGS.openldap-client+= -DLDAP_DEPRECATED
+CHECK_BUILTIN.openldap-client:= yes
+.include "../../databases/openldap-client/builtin.mk"
+CHECK_BUILTIN.openldap-client:= no
+
+. if empty(USE_BUILTIN.openldap-client:M[yY][eE][sS])
pkgbase := openldap-client
.include "../../mk/pkg-build-options.mk"
@@ -21,6 +26,7 @@ pkgbase := openldap-client
!empty(PKG_BUILD_OPTIONS.openldap-client:Msasl)
. include "../../security/cyrus-sasl/buildlink3.mk"
.endif
+. endif
.include "../../security/openssl/buildlink3.mk"
.endif # OPENLDAP_BUILDLINK3_MK