diff options
author | obache <obache@pkgsrc.org> | 2014-07-21 12:57:20 +0000 |
---|---|---|
committer | obache <obache@pkgsrc.org> | 2014-07-21 12:57:20 +0000 |
commit | 34de4cf0572a040c93fb305d8d49e8dd5589ac9f (patch) | |
tree | c5fb14628e4822c5906f53f67623c24e9269a8d2 /databases | |
parent | 788929f3364fdd6cb325ba847a2aec6ace331a5b (diff) | |
download | pkgsrc-34de4cf0572a040c93fb305d8d49e8dd5589ac9f.tar.gz |
Prevent unsupported build option detection for the case using builtin one.
Fixes PR pkg/47221.
Diffstat (limited to 'databases')
-rw-r--r-- | databases/openldap-client/buildlink3.mk | 8 |
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 |