summaryrefslogtreecommitdiff
path: root/lang/php4
diff options
context:
space:
mode:
Diffstat (limited to 'lang/php4')
-rw-r--r--lang/php4/Makefile3
-rw-r--r--lang/php4/files/patch-build_libtool.m411
2 files changed, 12 insertions, 2 deletions
diff --git a/lang/php4/Makefile b/lang/php4/Makefile
index e5c7f92e31d8..504f2787faee 100644
--- a/lang/php4/Makefile
+++ b/lang/php4/Makefile
@@ -22,9 +22,8 @@ COMMENT?= PHP Scripting Language (Apache Module and CLI)
LATEST_LINK= ${PKGNAMEPREFIX}${PORTNAME}${PKGNAMESUFFIX}
USE_BZIP2= yes
-USE_AUTOTOOLS= libtool:15
.if !defined(PKGNAMESUFFIX)
-USE_AUTOTOOLS+= autoconf:259
+USE_AUTOTOOLS= autoconf:259
USE_GETOPT_LONG=yes
CONFIGURE_ARGS= --enable-versioning \
diff --git a/lang/php4/files/patch-build_libtool.m4 b/lang/php4/files/patch-build_libtool.m4
new file mode 100644
index 000000000000..d55e8471178e
--- /dev/null
+++ b/lang/php4/files/patch-build_libtool.m4
@@ -0,0 +1,11 @@
+--- build/libtool.m4.orig Wed Feb 7 16:51:07 2007
++++ build/libtool.m4 Wed Feb 7 16:51:49 2007
+@@ -2073,7 +2073,7 @@
+ ;;
+
+ freebsd*)
+- objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
++ objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo elf`
+ version_type=freebsd-$objformat
+ case $version_type in
+ freebsd-elf*)