freebsd-ports/sysutils/usermin/files/patch-postgresql_config-freebsd
2008-05-27 09:12:31 +00:00

34 lines
1,014 B
Text

$FreeBSD$
--- postgresql/config-freebsd.orig
+++ postgresql/config-freebsd
@@ -1,18 +1,18 @@
basedb=template1
pass=
-hba_conf=/usr/local/pgsql/data/pg_hba.conf
-alt_hba_conf=/usr/local/share/postgresql/pg_hba.conf.sample
-pid_file=/usr/local/pgsql/data/postmaster.pid
-stop_cmd=/usr/local/etc/rc.d/postgresql stop
-start_cmd=/usr/local/etc/rc.d/postgresql start
-setup_cmd=/usr/local/etc/rc.d/postgresql initdb
+hba_conf=%%PREFIX%%/pgsql/data/pg_hba.conf
+alt_hba_conf=%%PREFIX%%/share/postgresql/pg_hba.conf.sample
+pid_file=%%PREFIX%%/pgsql/data/postmaster.pid
+stop_cmd=%%PREFIX%%/etc/rc.d/postgresql stop
+start_cmd=%%PREFIX%%/etc/rc.d/postgresql start
+setup_cmd=%%PREFIX%%/etc/rc.d/postgresql initdb
perpage=25
-psql=/usr/local/bin/psql
+psql=%%PREFIX%%/bin/psql
login=pgsql
-plib=/usr/local/lib
+plib=%%PREFIX%%/lib
nodbi=0
-dump_cmd=/usr/local/bin/pg_dump
-rstr_cmd=/usr/local/bin/pg_restore
+dump_cmd=%%PREFIX%%/bin/pg_dump
+rstr_cmd=%%PREFIX%%/bin/pg_restore
sameunix=0
access=*: *
blob_mode=0