Browse Source

Alejandro Mery <amery@geeks.cl>:

php needs to know where to find postgresql headers.
$pkg_postgresql_prefix created for the purpose


git-svn-id: http://www.rocklinux.org/svn/rock-linux/trunk@2234 c5f82cb5-29bc-0310-9cd0-bff59a50e3bc
rocklinux
Alejandro Mery 21 years ago
parent
commit
7e91e3b9a9
2 changed files with 5 additions and 1 deletions
  1. +1
    -1
      package/alessandro/php/php.conf
  2. +4
    -0
      package/michiel/postgresql/postgresql.conf

+ 1
- 1
package/alessandro/php/php.conf

@ -34,7 +34,7 @@ if [ "$ROCKCFG_PKG_PHP_mysql" = 1 ] ; then
var_append extraconfopt " " "--with-mysql$pkg_php_shared"
fi
[ "$ROCKCFG_PKG_PHP_postgresql" = 1 ] && var_append extraconfopt " " "--with-pgsql"
[ "$ROCKCFG_PKG_PHP_postgresql" = 1 ] && var_append extraconfopt " " "--with-pgsql=${pkg_postgresql_prefix}"
[ "$ROCKCFG_PKG_PHP_openldap" = 1 ] && var_append extraconfopt " " "--with-ldap=${pkg_openldap_prefix}"
[ "$ROCKCFG_PKG_PHP_openssl" = 1 ] && var_append extraconfopt " " "--with-openssl"

+ 4
- 0
package/michiel/postgresql/postgresql.conf

@ -28,3 +28,7 @@ fi
var_append extraconfopt " " "--with-CXX"
var_append extraconfopt " " "--with-gnu-ld"
var_append extraconfopt " " "--with-perl"
# other packages may need to know where postgres is.
hook_add postmake 3 "echo \"pkg_postgresql_prefix=/$prefix\" \
> $root/var/adm/parse-config/postgresql"

Loading…
Cancel
Save