blob: 3b53cb6ac7b69cd853ef226e3d65d5c2a05f4771 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
# $NetBSD: builtin.mk,v 1.1 2008/10/12 20:49:19 ahoka Exp $
BUILTIN_PKG:= openldap-client
PKGCONFIG_FILE.openldap-client= /usr/include/ldap_features.h
PKGCONFIG_BASE.openldap-client= /usr
BUILTIN_VERSION_SCRIPT.openldap-client= ${AWK} \
'/\#define[ \t]*_?LDAP_VENDOR_VERSION_MAJOR[ \t]/ { major = $$3; } \
/\#define[ \t]*_?LDAP_VENDOR_VERSION_MINOR[ \t]/ { minor = $$3; } \
/\#define[ \t]*_?LDAP_VENDOR_VERSION_PATCH[ \t]/ { patch = $$3; } \
END { if (major && minor && patch) print major "." minor "." patch; \
else print ""; }'
.include "../../mk/buildlink3/pkgconfig-builtin.mk"
|