diff options
author | tron <tron@pkgsrc.org> | 2013-01-12 15:58:53 +0000 |
---|---|---|
committer | tron <tron@pkgsrc.org> | 2013-01-12 15:58:53 +0000 |
commit | b272f3c93a031e6e421727076d8f1a35ffd7f261 (patch) | |
tree | d9809ff14538f4a059f04cd4014f67930eba04fb /mail/milter-greylist/options.mk | |
parent | 93f5cf6fd4d387fe7d84dc63e52003b13990bd81 (diff) | |
download | pkgsrc-b272f3c93a031e6e421727076d8f1a35ffd7f261.tar.gz |
Attempt to fix build problems under Solaris (11 at least) if the "drac"
option is used.
Problem reported by Richard Palo in PR pkg/47420.
Diffstat (limited to 'mail/milter-greylist/options.mk')
-rw-r--r-- | mail/milter-greylist/options.mk | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/mail/milter-greylist/options.mk b/mail/milter-greylist/options.mk index 7bc06f7dc4a..5c66a829434 100644 --- a/mail/milter-greylist/options.mk +++ b/mail/milter-greylist/options.mk @@ -1,4 +1,4 @@ -# $NetBSD: options.mk,v 1.9 2009/09/22 16:52:02 tron Exp $ +# $NetBSD: options.mk,v 1.10 2013/01/12 15:58:53 tron Exp $ PKG_OPTIONS_VAR= PKG_OPTIONS.milter-greylist PKG_OPTIONS_REQUIRED_GROUPS= mta @@ -33,6 +33,18 @@ CONFIGURE_ARGS+= --disable-drac DRACD_DB?= /etc/mail/dracd.db CONFIGURE_ARGS+= --enable-drac --with-drac-db=${DRACD_DB} + +USE_DB185= yes +. if ${OPSYS} == "SunOS" +BDB_ACCEPTED= db2 db3 db4 db5 +BDB185_DEFAULT= ${BDB_DEFAULT} +. endif +. include "../../mk/bdb.buildlink3.mk" +. if ${BDB_TYPE} != "db1" +CPPFLAGS+= -DUSE_DB185_EMULATION +. endif +LIBS+= ${BDB_LIBS} + .endif ### |