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