diff options
author | abs <abs@pkgsrc.org> | 2006-04-01 22:02:19 +0000 |
---|---|---|
committer | abs <abs@pkgsrc.org> | 2006-04-01 22:02:19 +0000 |
commit | 99056e080c0699b673dd94e7f5f77371f3e6715d (patch) | |
tree | 6bf48cab7b13308f418a63de9ec7efa627f0c678 /mail/exim | |
parent | 930d1849d039c4bfac7b75fdaf0f0cee4207585e (diff) | |
download | pkgsrc-99056e080c0699b673dd94e7f5f77371f3e6715d.tar.gz |
Add exim-lookup-pgsql and exim-lookup-sqlite - as provided by Geert
Hendrickx.
Diffstat (limited to 'mail/exim')
-rw-r--r-- | mail/exim/options.mk | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/mail/exim/options.mk b/mail/exim/options.mk index cf900d8060b..28a683bdb1f 100644 --- a/mail/exim/options.mk +++ b/mail/exim/options.mk @@ -1,9 +1,10 @@ -# $NetBSD: options.mk,v 1.6 2005/10/23 20:07:19 rillig Exp $ +# $NetBSD: options.mk,v 1.7 2006/04/01 22:02:19 abs Exp $ PKG_OPTIONS_VAR= PKG_OPTIONS.exim PKG_SUPPORTED_OPTIONS= exim-build-eximon exim-content-scan exim-lookup-dnsdb PKG_SUPPORTED_OPTIONS+= exim-lookup-dsearch exim-lookup-ldap exim-lookup-mysql -PKG_SUPPORTED_OPTIONS+= exim-lookup-whoson exim-old-demime gdbm inet6 saslauthd +PKG_SUPPORTED_OPTIONS+= exim-lookup-pgsql exim-lookup-sqlite exim-lookup-whoson +PKG_SUPPORTED_OPTIONS+= exim-old-demime gdbm inet6 saslauthd PKG_SUGGESTED_OPTIONS= exim-content-scan exim-lookup-dsearch exim-old-demime .include "../../mk/bsd.options.mk" @@ -42,6 +43,18 @@ LOOKUP_LIBS+=${COMPILER_RPATH_FLAG}${LOCALBASE}/${BUILDLINK_LIBDIRS.mysql} -L${ . include "../../mk/mysql.buildlink3.mk" .endif +.if !empty(PKG_OPTIONS:Mexim-lookup-pgsql) +LOCAL_MAKEFILE_OPTIONS+=LOOKUP_PGSQL=YES +LOOKUP_LIBS+=${COMPILER_RPATH_FLAG}${LOCALBASE}/${BUILDLINK_LIBDIRS.pgsql} -L${LOCALBASE}/${BUILDLINK_LIBDIRS.mysql} -lpq +. include "../../mk/pgsql.buildlink3.mk" +.endif + +.if !empty(PKG_OPTIONS:Mexim-lookup-sqlite) +LOCAL_MAKEFILE_OPTIONS+=LOOKUP_SQLITE=YES +LOOKUP_LIBS+=${COMPILER_RPATH_FLAG}${LOCALBASE}/${BUILDLINK_LIBDIRS.sqlite3} -L${LOCALBASE}/${BUILDLINK_LIBDIRS.sqlite3} -lsqlite3 +. include "../../databases/sqlite3/buildlink3.mk" +.endif + .if !empty(PKG_OPTIONS:Mexim-lookup-whoson) LOCAL_MAKEFILE_OPTIONS+=LOOKUP_WHOSON=YES LOOKUP_LIBS+=${COMPILER_RPATH_FLAG}${LOCALBASE}/${BUILDLINK_LIBDIRS.whoson} -L${LOCALBASE}/${BUILDLINK_LIBDIRS.whoson} -lwhoson |