summaryrefslogtreecommitdiffstats
path: root/www/webkit-gtk3
diff options
context:
space:
mode:
authorkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2013-10-10 20:48:13 +0800
committerkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2013-10-10 20:48:13 +0800
commitedb7baed318055514b9ad9fb1c35215bea2dddf7 (patch)
treedc55b678794691760a4ec962ba8e97884e1dc864 /www/webkit-gtk3
parente134188cd4ef4d3a996185cb9be733b6f43c44df (diff)
downloadmarcuscom-ports-edb7baed318055514b9ad9fb1c35215bea2dddf7.tar
marcuscom-ports-edb7baed318055514b9ad9fb1c35215bea2dddf7.tar.gz
marcuscom-ports-edb7baed318055514b9ad9fb1c35215bea2dddf7.tar.bz2
marcuscom-ports-edb7baed318055514b9ad9fb1c35215bea2dddf7.tar.lz
marcuscom-ports-edb7baed318055514b9ad9fb1c35215bea2dddf7.tar.xz
marcuscom-ports-edb7baed318055514b9ad9fb1c35215bea2dddf7.tar.zst
marcuscom-ports-edb7baed318055514b9ad9fb1c35215bea2dddf7.zip
Fix compile on !WEbkit2 on 9.1-R and 8.4-R.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@18788 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'www/webkit-gtk3')
-rw-r--r--www/webkit-gtk3/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/www/webkit-gtk3/Makefile b/www/webkit-gtk3/Makefile
index 67e12b779..a97a2c637 100644
--- a/www/webkit-gtk3/Makefile
+++ b/www/webkit-gtk3/Makefile
@@ -127,8 +127,15 @@ CPP= clang-cpp33
CONFIGURE_ENV+= CC=${CC} CXX=${CXX} CPP=${CPP}
. endif
.else
+# we need clang also for !Webkit2 builds
+. if ${OSVERSION}<1000019
+BUILD_DEPENDS+= clang>=3.3_1:${PORTSDIR}/lang/clang33
+CC= clang33
+CXX= clang++33
+CPP= clang-cpp33
CONFIGURE_ARGS+=--disable-webkit2
PLIST_SUB+= WEBKIT2="@comment "
+. endif
.endif
.if ${ARCH} == powerpc64