diff options
author | tv <tv@pkgsrc.org> | 2005-11-22 19:33:06 +0000 |
---|---|---|
committer | tv <tv@pkgsrc.org> | 2005-11-22 19:33:06 +0000 |
commit | ba31f6964dea4c62e636b00ccdcb45aa8ed1d0b0 (patch) | |
tree | fa343cfe62baad059c62b0048bfe996143d1db8d /sysutils/bacula/Makefile | |
parent | c6bd716bc961136dd238730e22b4df7cd63476ff (diff) | |
download | pkgsrc-ba31f6964dea4c62e636b00ccdcb45aa8ed1d0b0.tar.gz |
Move .if blocks for options from Makefile to options.mk.
Diffstat (limited to 'sysutils/bacula/Makefile')
-rw-r--r-- | sysutils/bacula/Makefile | 18 |
1 files changed, 1 insertions, 17 deletions
diff --git a/sysutils/bacula/Makefile b/sysutils/bacula/Makefile index 9ce856bb9d0..35c4d5d4488 100644 --- a/sysutils/bacula/Makefile +++ b/sysutils/bacula/Makefile @@ -1,25 +1,9 @@ -# $NetBSD: Makefile,v 1.7 2005/11/22 18:35:25 wiz Exp $ +# $NetBSD: Makefile,v 1.8 2005/11/22 19:33:06 tv Exp $ CONFLICTS+= bacula-client-[0-9]* .include "options.mk" -.if !empty(PKG_OPTIONS:Mcatalog-sqlite) -. include "../../databases/sqlite/buildlink3.mk" -CONFIGURE_ARGS+= --with-sqlite=${BUILDLINK_PREFIX.sqlite} -BACULA_DB= sqlite -.endif -.if !empty(PKG_OPTIONS:Mcatalog-pgsql) -. include "../../mk/pgsql.buildlink3.mk" -CONFIGURE_ARGS+= --with-postgresql=${PGSQL_PREFIX} -BACULA_DB= postgresql -.endif -.if !empty(PKG_OPTIONS:Mcatalog-mysql) -. include "../../mk/mysql.buildlink3.mk" -CONFIGURE_ARGS+= --with-mysql=${PREFIX} -BACULA_DB= mysql -.endif - PLIST_SUBST+= BACULA_DB=${BACULA_DB} MESSAGE_SUBST+= PREFIX=${PREFIX} MESSAGE_SUBST+= PKGNAME_NOREV=${PKGNAME_NOREV} |