diff options
author | Palle Girgensohn <girgen@FreeBSD.org> | 2005-01-31 00:35:55 +0000 |
---|---|---|
committer | Palle Girgensohn <girgen@FreeBSD.org> | 2005-01-31 00:35:55 +0000 |
commit | 34fa6c853efa04ca648d3d4187d4aec40a00fc0d (patch) | |
tree | 3445b3e9b6e7650fd127ec078394a0d7a8e79076 /sysutils/bacula-server | |
parent | ae2c26ad44dba87dd1377d70dfb1906132114c7b (diff) | |
download | ports-34fa6c853efa04ca648d3d4187d4aec40a00fc0d.tar.gz ports-34fa6c853efa04ca648d3d4187d4aec40a00fc0d.zip |
Split the postgresql ports into a server and a client part.
All ports depending on postgresql shall use the USE_PGSQL=yes knob
defined in Mk/bsd.ports.mk. Bumping portrevisions where needed.
PR: 75344
Approved by: portmgr@ (kris), ade & sean (mentors)
Notes
Notes:
svn path=/head/; revision=127737
Diffstat (limited to 'sysutils/bacula-server')
-rw-r--r-- | sysutils/bacula-server/Makefile | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sysutils/bacula-server/Makefile b/sysutils/bacula-server/Makefile index e0a82a38eacd..0bbb38cc72cd 100644 --- a/sysutils/bacula-server/Makefile +++ b/sysutils/bacula-server/Makefile @@ -56,7 +56,7 @@ OPTIONS+= WXCONSOLE "Build with wxGTK based GUI console" off OPTIONS+= GNOMECONSOLE "Build with GNOME based GUI console" off .else OPTIONS= MYSQL "Use MySQL database instead of SqLite" off -OPTIONS+= POSTGRESQL7 "Use PostgreSQL 7.X database instead of SqLite" off +OPTIONS+= POSTGRESQL "Use PostgreSQL database instead of SqLite" off OPTIONS+= MTX "Install mtx for control of autochanger devices" off .endif @@ -107,9 +107,9 @@ CONFFILES= sd dir CONFIGURE_ARGS+= --with-mysql=yes USE_MYSQL= yes DBTYPE= mysql -.elif defined(WITH_POSTGRESQL7) +.elif defined(WITH_POSTGRESQL) +USE_PGSQL= yes CONFIGURE_ARGS+= --with-postgresql=yes -LIB_DEPENDS+= pq:${PORTSDIR}/databases/postgresql7 DBTYPE= postgresql .else CONFIGURE_ARGS+= --with-sqlite=yes @@ -136,9 +136,9 @@ pre-everything:: @${ECHO_MSG} " WITH_WXCONSOLE=yes if you only want a wxGTK based GUI console." @${ECHO_MSG} " WITH_GNOMECONSOLE=yes if you only want a GNOME based GUI console." @${ECHO_MSG} " WITH_MTX=yes if you want to use mtx instead of chio for autochanger control." -.if !defined(WITH_MYSQL) && !defined(WITH_POSTGRESQL7) +.if !defined(WITH_MYSQL) && !defined(WITH_POSTGRESQL) @${ECHO_MSG} " WITH_MYSQL=yes if you want MySQL instead of SqLite as the database." - @${ECHO_MSG} " WITH_POSTGRESQL7=yes if you want PostgreSQL 7.X instead of SqLite as the database." + @${ECHO_MSG} " WITH_POSTGRESQL=yes if you want PostgreSQL instead of SqLite as the database." @${ECHO_MSG} "" @${ECHO_MSG} "The default DB is SQLite!" .endif |