Add files from parent branch HEAD:
[pkgsrc.git] / databases / openldap-client / builtin.mk
1 # $NetBSD$
2
3 BUILTIN_PKG:=   openldap-client
4
5 PKGCONFIG_FILE.openldap-client= /usr/include/ldap_features.h
6 PKGCONFIG_BASE.openldap-client= /usr
7
8 BUILTIN_VERSION_SCRIPT.openldap-client= ${AWK} \
9         '/\#define[ \t]*_?LDAP_VENDOR_VERSION_MAJOR[ \t]/ { major = $$3; } \
10         /\#define[ \t]*_?LDAP_VENDOR_VERSION_MINOR[ \t]/ { minor = $$3; } \
11         /\#define[ \t]*_?LDAP_VENDOR_VERSION_PATCH[ \t]/ { patch = $$3; } \
12         END { if (major && minor && patch) print major "." minor "." patch; \
13         else print ""; }'
14
15 .include "../../mk/buildlink3/pkgconfig-builtin.mk"