7b4709677e
- convert spaces to tabs (pkglint --autofix) - set, not append to USE_LANGUAGES
29 lines
897 B
Makefile
29 lines
897 B
Makefile
# $NetBSD: options.mk,v 1.4 2006/10/29 08:32:38 shattered Exp $
|
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.barnyard
|
|
PKG_SUPPORTED_OPTIONS= mysql pgsql
|
|
PKG_SUGGESTED_OPTIONS= mysql
|
|
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
###
|
|
### Use PostgreSQL for storing user details
|
|
###
|
|
.if !empty(PKG_OPTIONS:Mpgsql)
|
|
. include "../../mk/pgsql.buildlink3.mk"
|
|
CONFIGURE_ARGS+= --enable-postgres
|
|
CONFIGURE_ARGS+= --with-postgres-includes=${PREFIX}/include/postgresql
|
|
CONFIGURE_ARGS+= --with-postgres-libraries=${PREFIX}/lib/postgresql
|
|
LIBS+= ${COMPILER_RPATH_FLAG}${PREFIX}/lib/postgresql
|
|
.endif
|
|
|
|
###
|
|
### Use MySQL for storing user details
|
|
###
|
|
.if !empty(PKG_OPTIONS:Mmysql)
|
|
. include "../../mk/mysql.buildlink3.mk"
|
|
CONFIGURE_ARGS+= --enable-mysql
|
|
CONFIGURE_ARGS+= --with-mysql-includes=${PREFIX}/include/mysql
|
|
CONFIGURE_ARGS+= --with-mysql-libraries=${PREFIX}/lib/mysql
|
|
LIBS+= ${COMPILER_RPATH_FLAG}${PREFIX}/lib/mysql
|
|
.endif
|