summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2011-05-28 20:53:39 +0800
committerkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2011-05-28 20:53:39 +0800
commited3fd493dbe8319cf2e6971514a928243a2ef73f (patch)
tree1ce60507a34e336a737943b720f68e1f46243dca
parent603325ab416dca5f181329802b7da4f195dd1a76 (diff)
downloadmarcuscom-ports-ed3fd493dbe8319cf2e6971514a928243a2ef73f.tar
marcuscom-ports-ed3fd493dbe8319cf2e6971514a928243a2ef73f.tar.gz
marcuscom-ports-ed3fd493dbe8319cf2e6971514a928243a2ef73f.tar.bz2
marcuscom-ports-ed3fd493dbe8319cf2e6971514a928243a2ef73f.tar.lz
marcuscom-ports-ed3fd493dbe8319cf2e6971514a928243a2ef73f.tar.xz
marcuscom-ports-ed3fd493dbe8319cf2e6971514a928243a2ef73f.tar.zst
marcuscom-ports-ed3fd493dbe8319cf2e6971514a928243a2ef73f.zip
Sync with FreeBSD ports. Make it build with perl 5.14.0.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@16006 df743ca5-7f9a-e211-a948-0013205c9059
-rw-r--r--www/webkit-gtk2/Makefile6
-rw-r--r--www/webkit-gtk3/Makefile6
2 files changed, 10 insertions, 2 deletions
diff --git a/www/webkit-gtk2/Makefile b/www/webkit-gtk2/Makefile
index a470ed84f..9b8d29115 100644
--- a/www/webkit-gtk2/Makefile
+++ b/www/webkit-gtk2/Makefile
@@ -3,7 +3,7 @@
# Whom: Michael Johnson <ahze@FreeBSD.org>
#
# $FreeBSD$
-# $MCom: ports/www/webkit-gtk2/Makefile,v 1.74 2011/04/21 12:23:55 kwm Exp $
+# $MCom: ports/www/webkit-gtk2/Makefile,v 1.75 2011/04/27 15:24:46 kwm Exp $
#
PORTNAME= webkit
@@ -72,6 +72,10 @@ CONFIGURE_ARGS+=--disable-debug
CFLAGS+= -mminimal-toc
.endif
+.if ${PERL_LEVEL} >= 501400
+BUILD_DEPENDS+= p5-Switch:${PORTSDIR}/lang/p5-Switch
+.endif
+
post-patch:
@${REINPLACE_CMD} -e 's|%%BROWSER_PLUGINS_DIR%%|${BROWSER_PLUGINS_DIR}|' \
${WRKSRC}/Source/WebCore/plugins/PluginDatabase.cpp
diff --git a/www/webkit-gtk3/Makefile b/www/webkit-gtk3/Makefile
index 9ff2b5c70..089bd5d5e 100644
--- a/www/webkit-gtk3/Makefile
+++ b/www/webkit-gtk3/Makefile
@@ -3,7 +3,7 @@
# Whom: Michael Johnson <ahze@FreeBSD.org>
#
# $FreeBSD$
-# $MCom: ports/www/webkit-gtk3/Makefile,v 1.12 2011/03/22 22:05:59 kwm Exp $
+# $MCom: ports/www/webkit-gtk3/Makefile,v 1.13 2011/04/27 15:24:46 kwm Exp $
#
PORTNAME= webkit
@@ -72,6 +72,10 @@ CONFIGURE_ARGS+=--disable-debug
CFLAGS+= -mminimal-toc
.endif
+.if ${PERL_LEVEL} >= 501400
+BUILD_DEPENDS+= p5-Switch:${PORTSDIR}/lang/p5-Switch
+.endif
+
post-patch:
@${REINPLACE_CMD} -e 's|%%BROWSER_PLUGINS_DIR%%|${BROWSER_PLUGINS_DIR}|' \
${WRKSRC}/Source/WebCore/plugins/PluginDatabase.cpp