mirror of
https://git.freebsd.org/ports.git
synced 2025-06-22 13:10:31 -04:00
mod_pagespeed is an open-source Apache module that automatically optimizes web pages and resources on them by rewriting the resources using filters that implement web performance best practices. Reviewed by: mat (mentor) Approved by: mat (mentor) Sponsored by: Netzkommune GmbH Differential Revision: https://reviews.freebsd.org/D12616
19 lines
823 B
Python
19 lines
823 B
Python
--- pagespeed/kernel.gyp.orig 2017-09-12 22:02:20 UTC
|
|
+++ pagespeed/kernel.gyp
|
|
@@ -16,8 +16,13 @@
|
|
'variables': {
|
|
'instaweb_root': '..',
|
|
- 'protoc_out_dir': '<(SHARED_INTERMEDIATE_DIR)/protoc_out/instaweb',
|
|
- 'protoc_executable':
|
|
- '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)protoc<(EXECUTABLE_SUFFIX)',
|
|
+ 'protoc_out_dir': '<(SHARED_INTERMEDIATE_DIR)/protoc_out/instaweb',
|
|
+ 'conditions': [
|
|
+ ['use_system_protobuf==0', {
|
|
+ 'protoc_executable': '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)protoc<(EXECUTABLE_SUFFIX)',
|
|
+ }, { # use_system_protobuf==1
|
|
+ 'protoc_executable': '<!(which protoc)',
|
|
+ }],
|
|
+ ],
|
|
'data2c_out_dir': '<(SHARED_INTERMEDIATE_DIR)/data2c_out/instaweb',
|
|
'data2c_exe':
|
|
'<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)instaweb_data2c<(EXECUTABLE_SUFFIX)',
|