summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
Diffstat (limited to 'lang')
-rw-r--r--lang/guile/Makefile4
-rw-r--r--lang/php52/Makefile1
-rw-r--r--lang/php52/files/patch-scripts::phpize.in4
3 files changed, 6 insertions, 3 deletions
diff --git a/lang/guile/Makefile b/lang/guile/Makefile
index d62245c2db6e..cbef7dcf04a1 100644
--- a/lang/guile/Makefile
+++ b/lang/guile/Makefile
@@ -39,6 +39,8 @@ INFO= goops guile-tut guile r5rs
.include <bsd.port.pre.mk>
+AUTOTOOLSFILES= aclocal.m4
+
post-extract:
cd ${WRKSRC}; ${CHMOD} u+w ${REINPLACE_FILES}
@${FIND} ${WRKSRC}/doc -name "*.info*" -delete
@@ -46,6 +48,6 @@ post-extract:
post-patch:
@cd ${WRKSRC} ; \
${REINPLACE_CMD} -e 's|<malloc\.h>|<stdlib.h>|g' ${REINPLACE_FILES}
- @${REINPLACE_CMD} -e 's|2.61|2.68|g' ${WRKSRC}/aclocal.m4
+ @${REINPLACE_CMD} -e 's|2.63|%%AUTOCONF_VERSION%%|g' ${WRKSRC}/aclocal.m4
.include <bsd.port.post.mk>
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