aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorade <ade@FreeBSD.org>2010-12-23 04:05:49 +0800
committerade <ade@FreeBSD.org>2010-12-23 04:05:49 +0800
commitb3eaac16d9d3e7dd232308127eb5799f815ef821 (patch)
treec68d1b2f0ef56bab6c4f255c67470c55cf424f79 /www
parent7ff69e2f85702b7c6b49ce09c3f75364c4e21f85 (diff)
downloadfreebsd-ports-gnome-b3eaac16d9d3e7dd232308127eb5799f815ef821.tar.gz
freebsd-ports-gnome-b3eaac16d9d3e7dd232308127eb5799f815ef821.tar.zst
freebsd-ports-gnome-b3eaac16d9d3e7dd232308127eb5799f815ef821.zip
Sync to final (for now) bsd.autotools.mk
Diffstat (limited to 'www')
-rw-r--r--www/asterisk-gui/Makefile1
-rw-r--r--www/asterisk-gui/files/patch-bootstrap.sh4
-rw-r--r--www/suphp/Makefile8
3 files changed, 9 insertions, 4 deletions
diff --git a/www/asterisk-gui/Makefile b/www/asterisk-gui/Makefile
index afd0e11d87ef..43cb12ceae36 100644
--- a/www/asterisk-gui/Makefile
+++ b/www/asterisk-gui/Makefile
@@ -19,6 +19,7 @@ RUN_DEPENDS= asterisk:${PORTSDIR}/net/asterisk14 \
PROJECTHOST= asterisk-bsd
USE_AUTOTOOLS= autoconf automake
+AUTOTOOLSFILES= bootstrap.sh
USE_GMAKE= yes
SUB_FILES= pkg-message
diff --git a/www/asterisk-gui/files/patch-bootstrap.sh b/www/asterisk-gui/files/patch-bootstrap.sh
index 135b911192a4..b6fe53bdba47 100644
--- a/www/asterisk-gui/files/patch-bootstrap.sh
+++ b/www/asterisk-gui/files/patch-bootstrap.sh
@@ -6,8 +6,8 @@
if [ $? = 0 ] ; then # FreeBSD case
- MY_AC_VER=259
- MY_AM_VER=19
-+ MY_AC_VER=-2.68
-+ MY_AM_VER=-1.11
++ MY_AC_VER=-%%AUTOCONF_VERSION%%
++ MY_AM_VER=-%%AUTOMAKE_VERSION%%
else # linux case
MY_AC_VER=
MY_AM_VER=
diff --git a/www/suphp/Makefile b/www/suphp/Makefile
index d975f11109b1..754e16bb9f2d 100644
--- a/www/suphp/Makefile
+++ b/www/suphp/Makefile
@@ -39,9 +39,13 @@ CONFIGURE_ARGS+= --with-setid-mode=${WITH_SETID_MODE}
CONFIGURE_ARGS+= --with-apr=${LOCALBASE}
+AUTOTOOLSFILES= aclocal.m4
+
post-patch:
- @${REINPLACE_CMD} -e 's|2.61|2.68|g' ${WRKSRC}/aclocal.m4
- @${REINPLACE_CMD} -e 's|1.10.1|1.11.1|g' ${WRKSRC}/aclocal.m4
+ @${REINPLACE_CMD} -e 's|2.61|%%AUTOCONF_VERSION%%|g' \
+ -e 's|1.10.1|%%AUTOMAKE_APIVER%%|g' \
+ -e 's|1.10|%%AUTOMAKE_VERSION%%|g' \
+ ${WRKSRC}/aclocal.m4
@${CHMOD} 755 ${WRKSRC}/config/install-sh
post-install: