|
Lines 21-27
Link Here
|
| 21 |
License: PHP Licence |
21 |
License: PHP Licence |
| 22 |
Prereq: php-libs = %get_SVR php-libs |
22 |
Prereq: php-libs = %get_SVR php-libs |
| 23 |
# Automatically added by buildreq on Fri Apr 09 2004 |
23 |
# Automatically added by buildreq on Fri Apr 09 2004 |
| 24 |
BuildRequires: gcc-c++ hostinfo libMySQL-devel zlib-devel |
24 |
BuildRequires: gcc-c++ hostinfo libMySQL-devel zlib-devel sed |
| 25 |
BuildRequires: php-devel = %get_SVR php-devel |
25 |
BuildRequires: php-devel = %get_SVR php-devel |
| 26 |
BuildRequires: automake_1.7 |
26 |
BuildRequires: automake_1.7 |
| 27 |
|
27 |
|
|
Lines 50-55
Link Here
|
| 50 |
CFLAGS="$RPM_OPT_FLAGS -fPIC -L%_libdir" |
50 |
CFLAGS="$RPM_OPT_FLAGS -fPIC -L%_libdir" |
| 51 |
export CFLAGS |
51 |
export CFLAGS |
| 52 |
|
52 |
|
|
|
53 |
%__subst "s@for i in lib@for i in %_lib@" configure |
| 53 |
%configure \ |
54 |
%configure \ |
| 54 |
--with-php-config=%_bindir/php-config \ |
55 |
--with-php-config=%_bindir/php-config \ |
| 55 |
--with-mysql=%_usr |
56 |
--with-mysql=%_usr |