poprawiony configure: - wyrzucone opcje nieaktualne - poprawione wywołanie dla tcl
dołożyłem też sekcję files plphp, ale nie wiem czy działa dobrze, bo póki co z php się nie buduje (przynajmniej mi, php 5.2) budowane na najnowszych paczkach TH/TH-test diff do speca w załączniku -- ------------------------------------------------------------------------ Tomasz Rutkowski, sysadm @nospheratu.net, e-mail: [EMAIL PROTECTED] my PGP key files could be found at http://tango.nospheratu.net ------------------------------------------------------------------------
--- postgresql.spec 2006-12-09 17:19:59.000000000 +0000 +++ postgresql.spec.new 2006-12-09 17:13:12.000000000 +0000 @@ -8,8 +8,6 @@ %bcond_without tcl # disables Tcl support %bcond_without kerberos5 # disable kerberos5 support %bcond_without perl # disable Perl support -%bcond_without pgsql_locale # disable PostgreSQL locale -%bcond_without pgsql_multibyte # disable PostgreSQL multibyte %bcond_without python # disable Python support %bcond_with php # enable PHP support %bcond_with absolute_dbpaths # enable absolute paths to create database @@ -804,22 +802,15 @@ tar zxf doc/postgres.tar.gz -C doc/unpac --disable-rpath \ --enable-depend \ --enable-integer-datetimes \ - %{?with_pgsql_locale:--enable-locale} \ - %{?with_pgsql_multibyte:--enable-multibyte} \ --enable-nls \ - --enable-recode \ - --enable-syslog \ --enable-thread-safety \ - --enable-unicode-conversion \ - --with-CXX \ %{?with_kerberos5:--with-krb5} \ --with-openssl \ --with-pam \ %{?with_perl:--with-perl} \ %{?with_php:--with-php=/usr/include/php} \ %{?with_python:--with-python} \ - %{?with_tcl:--with-tcl} \ - --with-x \ + %{?with_tcl:--with-tcl --with-tclconfig=/usr/lib} \ --without-docdir %{__make} @@ -1125,6 +1116,13 @@ fi %attr(755,root,root) %{_pgmoduledir}/pltcl.so %endif +%if %{with php} +%files module-plphp +%defattr(644,root,root,755) +%attr(755,root,root) %{_bindir}/plphp_* +%attr(755,root,root) %{_pgmoduledir}/plphp.so +%endif + %files module-dblink %defattr(644,root,root,755) %doc contrib/dblink/README.dblink
_______________________________________________ pld-devel-pl mailing list pld-devel-pl@lists.pld-linux.org http://lists.pld-linux.org/mailman/listinfo/pld-devel-pl