diff options
author | xtraeme <xtraeme@pkgsrc.org> | 2004-12-14 15:10:15 +0000 |
---|---|---|
committer | xtraeme <xtraeme@pkgsrc.org> | 2004-12-14 15:10:15 +0000 |
commit | 8b6674b61ef23a6a7630a3a8cdf0595cdac2930c (patch) | |
tree | 43d8e731faa3eb366a70048caccd6a1a2a2fb32b /sysutils/bacula | |
parent | 183457b4dc83b7b7b243f6805aa19284b95dc036 (diff) | |
download | pkgsrc-8b6674b61ef23a6a7630a3a8cdf0595cdac2930c.tar.gz |
* Remove redundant lines for PKG_OPTIONS.
* Use PGSQL_PREFIX to find postgresql*-lib prefix
* USE_LANGUAGES+= c++
Diffstat (limited to 'sysutils/bacula')
-rw-r--r-- | sysutils/bacula/Makefile.common | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/sysutils/bacula/Makefile.common b/sysutils/bacula/Makefile.common index c8ddcd87af0..b6546e91c8f 100644 --- a/sysutils/bacula/Makefile.common +++ b/sysutils/bacula/Makefile.common @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.common,v 1.2 2004/12/14 14:51:07 xtraeme Exp $ +# $NetBSD: Makefile.common,v 1.3 2004/12/14 15:10:15 xtraeme Exp $ # DISTNAME= bacula-1.36.0 @@ -12,6 +12,7 @@ COMMENT= Network Backup Solution .include "Makefile.options" USE_BUILDLINK3= yes +USE_LANGUAGES+= c++ USE_PKGLOCALEDIR= yes USE_PKGINSTALL= yes GNU_CONFIGURE= yes @@ -37,11 +38,13 @@ 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) +. include "../../databases/sqlite/buildlink3.mk" CONFIGURE_ARGS+= --with-sqlite=${BUILDLINK_PREFIX.sqlite} BACULA_DB= sqlite .endif .if !empty(PKG_OPTIONS:Mcatalog-pgsql) -CONFIGURE_ARGS+= -with-postgresql=${BUILDLINK_PREFIX.postgresql-lib} +. include "../../mk/pgsql.buildlink3.mk" +CONFIGURE_ARGS+= --with-postgresql=${PGSQL_PREFIX} BACULA_DB= postgresql .endif @@ -69,13 +72,6 @@ RCD_SCRIPTS= bacula bacula-dir bacula-sd bacula-fd pre-install: ${MKDIR} ${EXAMPLESDIR} -.if !empty(PKG_OPTIONS:Mcatalog-sqlite) -.include "../../databases/sqlite/buildlink3.mk" -.endif -.if !empty(PKG_OPTIONS:Mcatalog-pgsql) -.include "../../mk/pgsql.buildlink3.mk" -.endif - .include "../../devel/zlib/buildlink3.mk" .include "../../security/tcp_wrappers/buildlink3.mk" .include "../../mk/pthread.buildlink3.mk" |