summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--php-pecl-apc-dev.spec6
1 files changed, 1 insertions, 5 deletions
diff --git a/php-pecl-apc-dev.spec b/php-pecl-apc-dev.spec
index 3d39df2..b4fadf2 100644
--- a/php-pecl-apc-dev.spec
+++ b/php-pecl-apc-dev.spec
@@ -90,12 +90,8 @@ grep date package.xml
cd APC-%{version}
-%if 0%{?__isa_bits}
-# port number to allow 32/64 build at same time
-port=$(expr %{__isa_bits} + 8900)
-sed -e "/PHP_CLI_SERVER_PORT/s/8964/$port/" \
+sed -e "/PHP_CLI_SERVER_PORT/s/8964/8960+PHP_INT_SIZE/" \
-i tests/server_test.inc
-%endif
# Sanity check, really often broken
extver=$(sed -n '/#define PHP_APC_VERSION/{s/.* "//;s/".*$//;p}' php_apc.h)