aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorantoine <antoine@FreeBSD.org>2018-02-15 18:43:27 +0800
committerantoine <antoine@FreeBSD.org>2018-02-15 18:43:27 +0800
commit7075c1387005dd3e0a66644277a72a85bf0ad4a5 (patch)
treef76143edc5d32a918fe3ff2bbbf40ff9b1b9d1fa /www
parent1e1b9beb5ebd98d9abb128bbe113fb8726f047a9 (diff)
downloadfreebsd-ports-gnome-7075c1387005dd3e0a66644277a72a85bf0ad4a5.tar.gz
freebsd-ports-gnome-7075c1387005dd3e0a66644277a72a85bf0ad4a5.tar.zst
freebsd-ports-gnome-7075c1387005dd3e0a66644277a72a85bf0ad4a5.zip
mod_pagespeed fails to build with python3
Diffstat (limited to 'www')
-rw-r--r--www/mod_pagespeed/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/www/mod_pagespeed/Makefile b/www/mod_pagespeed/Makefile
index dcdfa6592cd6..6315f9e9a5a6 100644
--- a/www/mod_pagespeed/Makefile
+++ b/www/mod_pagespeed/Makefile
@@ -19,7 +19,7 @@ BUILD_DEPENDS= bash:shells/bash \
closure-compiler:www/closure-compiler \
greadlink:sysutils/coreutils \
gsed:textproc/gsed \
- gyp:devel/py-gyp \
+ gyp:devel/py-gyp@${PY_FLAVOR} \
flock:sysutils/flock \
${LOCALBASE}/include/apr-1/apr_pools.h:devel/apr1
LIB_DEPENDS= libpng.so:graphics/png \
@@ -32,7 +32,7 @@ LIB_DEPENDS= libpng.so:graphics/png \
libopencv_legacy.so:graphics/opencv
USES= compiler:c++14-lang gperf jpeg gmake localbase pkgconfig \
- python shebangfix ssl tar:xz
+ python:2.7 shebangfix ssl tar:xz
USE_APACHE= 22+
SHEBANG_GLOB= *.gyp *.gypi *.py *.sh
SHEBANG_FILES= build/fix_proto_and_invoke_protoc