From bbe98852ae3dea221a7e31826a34d54260f44c72 Mon Sep 17 00:00:00 2001 From: Alejandro Mery Date: Fri, 26 Dec 2003 00:46:41 +0000 Subject: [PATCH] Alejandro Mery : Changed postgresql to default to install into /opt/postgresql The ROCK's unwritten standard said this kind of things should go to opt/$pkg and should be changeable by targets. git-svn-id: http://www.rocklinux.org/svn/rock-linux/trunk@2062 c5f82cb5-29bc-0310-9cd0-bff59a50e3bc --- Documentation/Developers/CHANGELOG-RENE | 1 + package/michiel/postgresql/postgresql.conf | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/Documentation/Developers/CHANGELOG-RENE b/Documentation/Developers/CHANGELOG-RENE index 0f2cdc206..5f6a302fa 100644 --- a/Documentation/Developers/CHANGELOG-RENE +++ b/Documentation/Developers/CHANGELOG-RENE @@ -4,6 +4,7 @@ - ALSA OSS emulation and no IDESCSI for 2.6 - added an eject command to kiss - added a "check for modified files" option to mine ("-y" for now ...) + - Alejandro Mery: changed postgresql to default to install into /opt/postgresql *) 2003-12-24 (2.0.0-rc3 - 2.0.0-rc4) diff --git a/package/michiel/postgresql/postgresql.conf b/package/michiel/postgresql/postgresql.conf index c54b562ac..30df31e39 100644 --- a/package/michiel/postgresql/postgresql.conf +++ b/package/michiel/postgresql/postgresql.conf @@ -20,6 +20,11 @@ # # --- ROCK-COPYRIGHT-NOTE-END --- +if [ $prefix_auto = 1 ] ; then + prefix="opt/postgresql" + set_confopt +fi + var_append extraconfopt " " "--with-CXX" var_append extraconfopt " " "--with-gnu-ld" var_append extraconfopt " " "--with-perl"