add mysql flavour
This commit is contained in:
parent
4bf2785d7d
commit
2272454eba
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile.inc,v 1.7 2001/09/28 23:32:47 jakob Exp $
|
||||
# $OpenBSD: Makefile.inc,v 1.8 2001/09/28 23:35:18 jakob Exp $
|
||||
|
||||
COMMENT= fast, secure sendmail replacement
|
||||
|
||||
@ -25,7 +25,7 @@ MAKE_AUXLIBS?=
|
||||
|
||||
ALL_TARGET= default
|
||||
|
||||
FLAVORS= pcre sasl ldap
|
||||
FLAVORS= pcre sasl ldap mysql
|
||||
FLAVOR?=
|
||||
|
||||
.if ${FLAVOR:L:Mpcre}
|
||||
@ -46,6 +46,12 @@ MAKE_CCARGS+= -I${LOCALBASE}/include -DHAS_LDAP
|
||||
MAKE_AUXLIBS+= -L${LOCALBASE}/lib -lldap -llber
|
||||
.endif
|
||||
|
||||
.if ${FLAVOR:L:Mmysql}
|
||||
LIB_DEPENDS+= mysqlclient.10:mysql-client-3.23.*:databases/mysql
|
||||
MAKE_CCARGS+= -I${LOCALBASE}/include/mysql -DHAS_MYSQL
|
||||
MAKE_AUXLIBS+= -L${LOCALBASE}/lib/mysql -lmysqlclient
|
||||
.endif
|
||||
|
||||
do-configure:
|
||||
cd ${WRKSRC}; ${MAKE_PROGRAM} makefiles \
|
||||
CC="${CC}" OPT="${CFLAGS}" DEBUG="${MAKE_DEBUG}" \
|
||||
|
@ -80,6 +80,8 @@ Flavors
|
||||
|
||||
* ldap - Add support for doing table lookups using LDAP.
|
||||
|
||||
* mysql - Add support for doing table lookups using MySQL.
|
||||
|
||||
|
||||
More information
|
||||
|
||||
|
@ -80,6 +80,8 @@ Flavors
|
||||
|
||||
* ldap - Add support for doing table lookups using LDAP.
|
||||
|
||||
* mysql - Add support for doing table lookups using MySQL.
|
||||
|
||||
|
||||
More information
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user