From: Adam Gołębiowski Date: Sun, 8 Aug 2004 10:21:16 +0000 (+0000) Subject: - one more try to build this on amd64 X-Git-Tag: auto/ac/php-pecl-sasl-0_1_0-2~2 X-Git-Url: http://git.pld-linux.org/gitweb.cgi?p=packages%2Fphp-pecl-sasl.git;a=commitdiff_plain;h=7265728d876f3bf8d2b0d97cb02a3bebe9115ade - one more try to build this on amd64 Changed files: php-pecl-sasl.spec -> 1.5 --- diff --git a/php-pecl-sasl.spec b/php-pecl-sasl.spec index 065bec8..f17b7c1 100644 --- a/php-pecl-sasl.spec +++ b/php-pecl-sasl.spec @@ -11,6 +11,7 @@ Group: Development/Languages/PHP Source0: http://pecl.php.net/get/%{_modname}-%{version}.tgz # Source0-md5: 8431731cc8a7921a2922af23a57a572f Patch0: %{name}-lib_fix.patch +Patch1: %{name}-lib64_fix.patch URL: http://pecl.php.net/package/sasl/ BuildRequires: cyrus-sasl-devel BuildRequires: libtool @@ -40,12 +41,17 @@ In PECL status of this extension is: %{_status}. %prep %setup -q -c +# Ugly, could be done somehow prettier (one combined patch?) +%ifnarch amd64 %patch0 -p1 +%else +%patch1 -p1 +%endif %build cd %{_modname}-%{version} phpize -LDFLAGS="%{_rpmldflags} -L%{_libdir}" %configure +%configure %{__make} %install