summaryrefslogtreecommitdiff
path: root/mail/postfix-ldap/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'mail/postfix-ldap/Makefile')
-rw-r--r--mail/postfix-ldap/Makefile18
1 files changed, 18 insertions, 0 deletions
diff --git a/mail/postfix-ldap/Makefile b/mail/postfix-ldap/Makefile
new file mode 100644
index 00000000000..53ca9f0ffbe
--- /dev/null
+++ b/mail/postfix-ldap/Makefile
@@ -0,0 +1,18 @@
+# $NetBSD: Makefile,v 1.1 2015/09/07 09:47:02 fhajny Exp $
+#
+
+COMMENT= Postfix SMTP server LDAP backend module
+
+POSTFIX_LIB= ldap
+POSTFIX_LIBDIR= src/global
+POSTFIX_LIB_DICT= yes
+POSTFIX_LIB_MKMAP= no
+
+.include "../../mail/postfix/Makefile.module"
+
+CCARGS+= -I${BUILDLINK_PREFIX.openldap-client}/include
+AUXLIBS_MODULE= -L${BUILDLINK_PREFIX.openldap-client}/lib -lldap -llber \
+ ${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.openldap-client}/lib
+
+.include "../../databases/openldap-client/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"