Fixes scripts installation path for postgresql.

This commit is contained in:
obache 2010-01-23 04:45:20 +00:00
parent 1fb4848dfc
commit 7bdb067e28

View file

@ -1,4 +1,4 @@
# $NetBSD: options.mk,v 1.8 2008/04/12 22:43:03 jlam Exp $
# $NetBSD: options.mk,v 1.9 2010/01/23 04:45:20 obache Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.dbmail
PKG_SUPPORTED_OPTIONS= ldap sieve
@ -27,7 +27,7 @@ INSTALLATION_DIRS+= ${DATADIR}/sql/mysql
.include "../../mk/pgsql.buildlink3.mk"
CONFIGURE_ARGS+= --with-pgsql
PLIST.pgsql= yes
INSTALLATION_DIRS+= ${DATADIR}/sql/pgsql
INSTALLATION_DIRS+= ${DATADIR}/sql/postgresql
.endif
###
@ -73,7 +73,7 @@ dbmail-install-scripts:
${INSTALL_DATA} ${WRKSRC}/sql/mysql/* ${DESTDIR}${DATADIR}/sql/mysql
.endif
.if !empty(PKG_OPTIONS:Mpgsql)
${INSTALL_DATA} ${WRKSRC}/sql/postgresql/* ${DESTDIR}${DATADIR}/sql/pgsql
${INSTALL_DATA} ${WRKSRC}/sql/postgresql/* ${DESTDIR}${DATADIR}/sql/postgresql
.endif
.if !empty(PKG_OPTIONS:Msqlite)
${INSTALL_DATA} ${WRKSRC}/sql/sqlite/* ${DESTDIR}${DATADIR}/sql/sqlite