[Groonga-commit] groonga/groonga [master] make PHP bindings buildable.

Back to archive index

null+****@clear***** null+****@clear*****
2010年 11月 24日 (水) 22:38:51 JST


Kouhei Sutou	2010-11-24 13:38:51 +0000 (Wed, 24 Nov 2010)

  New Revision: c10bb4a3d648781827e21e8182c85d3089f64893

  Log:
    make PHP bindings buildable.

  Modified files:
    rpm/fedora/groonga.spec.in

  Modified: rpm/fedora/groonga.spec.in (+3 -4)
===================================================================
--- rpm/fedora/groonga.spec.in    2010-11-24 13:14:26 +0000 (3945398)
+++ rpm/fedora/groonga.spec.in    2010-11-24 13:38:51 +0000 (96c69a4)
@@ -116,12 +116,12 @@ python setup.py build
 cd %{_builddir}/%{name}-%{version}/bindings/php
 sed -i.ldflags -e 's|PHP_ADD_LIBRARY_WITH_PATH(groonga, .*)|PHP_ADD_LIBRARY(groonga, GROONGA_SHARED_LIBADD)|' config.m4
 phpize
-CFLAGS="-I%{_builddir}/%{name}-%{version}/include %{optflags}"
+CFLAGS="%{optflags}"
 export CFLAGS
 LDFLAGS=-L%{_builddir}/%{name}-%{version}/lib/.libs
 export LDFLAGS
 # --with-groonga is only necessary to avoid error in configure
-%configure --disable-static --with-groonga=.
+%configure --disable-static --with-groonga=%{_builddir}/%{name}-%{version}
 make %{?_smp_mflags}
 
 
@@ -258,8 +258,7 @@ fi
 %{php_extdir}/groonga.so
 
 %changelog
-* Mon Nov 29 2010 Kouhei Sutou <kou****@clear*****>
-- (1.0.4-0)
+* Mon Nov 29 2010 Kouhei Sutou <kou****@clear*****> - 1.0.4-0
 - new upstream release
 
 * Fri Oct 09 2010 Kouhei Sutou <kou****@clear*****> - 1.0.3-1




Groonga-commit メーリングリストの案内
Back to archive index