diff options
author | xtraeme <xtraeme@pkgsrc.org> | 2004-12-14 14:51:07 +0000 |
---|---|---|
committer | xtraeme <xtraeme@pkgsrc.org> | 2004-12-14 14:51:07 +0000 |
commit | 780ba4d1431396bf5a1044e816a7e7427011b059 (patch) | |
tree | 09265fef47930ae75836e78920a0e3989b3fb40e /sysutils | |
parent | 8982470e1441eae9e6a82ebe61a1a1de297e0d5b (diff) | |
download | pkgsrc-780ba4d1431396bf5a1044e816a7e7427011b059.tar.gz |
* Use VARBASE
* Remove duplicated users/groups variables
* Use pgsql.buildlink3.mk instead of using postgresql74-lib
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/bacula/Makefile.common | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/sysutils/bacula/Makefile.common b/sysutils/bacula/Makefile.common index d7bea8d72de..c8ddcd87af0 100644 --- a/sysutils/bacula/Makefile.common +++ b/sysutils/bacula/Makefile.common @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.common,v 1.1.1.1 2004/11/06 16:17:38 mjl Exp $ +# $NetBSD: Makefile.common,v 1.2 2004/12/14 14:51:07 xtraeme Exp $ # DISTNAME= bacula-1.36.0 @@ -17,11 +17,8 @@ USE_PKGINSTALL= yes GNU_CONFIGURE= yes PKG_SYSCONFSUBDIR?= bacula -BACULA_PIDDIR?= /var/run/bacula -BACULA_WORKINGDIR?= /var/spool/bacula -BACULA_GROUP?= bacula -BACULA_DIR_USER?= bacula-dir -BACULA_SD_USER?= bacula-sd +BACULA_PIDDIR?= ${VARBASE}/run/bacula +BACULA_WORKINGDIR?= ${VARBASE}/spool/bacula OWN_DIRS_PERMS= ${BACULA_PIDDIR} root ${BACULA_GROUP} 770 OWN_DIRS_PERMS+= ${BACULA_WORKINGDIR} root ${BACULA_GROUP} 770 @@ -40,11 +37,11 @@ CONFIGURE_ARGS+= --with-readline=${PREFIX}/include/readline CONFIGURE_ARGS+= --with-dir-user=${BACULA_DIR_USER} --with-dir-group=${BACULA_GROUP} CONFIGURE_ARGS+= --with-sd-user=${BACULA_SD_USER} --with-sd-group=${BACULA_GROUP} .if !empty(PKG_OPTIONS:Mcatalog-sqlite) -CONFIGURE_ARGS+= --with-sqlite=${PREFIX} +CONFIGURE_ARGS+= --with-sqlite=${BUILDLINK_PREFIX.sqlite} BACULA_DB= sqlite .endif .if !empty(PKG_OPTIONS:Mcatalog-pgsql) -CONFIGURE_ARGS+= -with-postgresql=${PREFIX} +CONFIGURE_ARGS+= -with-postgresql=${BUILDLINK_PREFIX.postgresql-lib} BACULA_DB= postgresql .endif @@ -76,7 +73,7 @@ pre-install: .include "../../databases/sqlite/buildlink3.mk" .endif .if !empty(PKG_OPTIONS:Mcatalog-pgsql) -.include "../../databases/postgresql74-lib/buildlink3.mk" +.include "../../mk/pgsql.buildlink3.mk" .endif .include "../../devel/zlib/buildlink3.mk" |