summaryrefslogtreecommitdiff
path: root/lang/php52
diff options
context:
space:
mode:
Diffstat (limited to 'lang/php52')
-rw-r--r--lang/php52/Makefile1
-rw-r--r--lang/php52/files/patch-scripts::phpize.in4
2 files changed, 3 insertions, 2 deletions
diff --git a/lang/php52/Makefile b/lang/php52/Makefile
index 836f9a94cf2e..69b6794f172e 100644
--- a/lang/php52/Makefile
+++ b/lang/php52/Makefile
@@ -21,6 +21,7 @@ USE_BZIP2= yes
MAKE_JOBS_SAFE= yes
.if !defined(PKGNAMESUFFIX)
USE_AUTOTOOLS= autoconf
+AUTOTOOLSFILES= scripts/phpize.in
CONFIGURE_ARGS= \
--with-layout=GNU \
diff --git a/lang/php52/files/patch-scripts::phpize.in b/lang/php52/files/patch-scripts::phpize.in
index 7ad9a4e404d7..532c098674ae 100644
--- a/lang/php52/files/patch-scripts::phpize.in
+++ b/lang/php52/files/patch-scripts::phpize.in
@@ -6,8 +6,8 @@
{
- test -z "$PHP_AUTOCONF" && PHP_AUTOCONF=autoconf
- test -z "$PHP_AUTOHEADER" && PHP_AUTOHEADER=autoheader
-+ test -z "$PHP_AUTOCONF" && PHP_AUTOCONF=autoconf-2.68
-+ test -z "$PHP_AUTOHEADER" && PHP_AUTOHEADER=autoheader-2.68
++ test -z "$PHP_AUTOCONF" && PHP_AUTOCONF=%%AUTOCONF%%
++ test -z "$PHP_AUTOHEADER" && PHP_AUTOHEADER=%%AUTOHEADER%%
if test ! -x "`$php_shtool path $PHP_AUTOCONF`"; then
cat <<EOF