mirror of
https://git.freebsd.org/ports.git
synced 2025-06-22 05:00:30 -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
20 lines
831 B
Python
20 lines
831 B
Python
--- net/instaweb/instaweb.gyp.orig 2017-06-08 22:22:39 UTC
|
|
+++ net/instaweb/instaweb.gyp
|
|
@@ -34,9 +34,14 @@
|
|
{
|
|
'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)',
|
|
+ }],
|
|
+ ],
|
|
'compiled_js_dir': '<(SHARED_INTERMEDIATE_DIR)/closure_out/instaweb',
|
|
'data2c_out_dir': '<(SHARED_INTERMEDIATE_DIR)/data2c_out/instaweb',
|
|
'data2c_exe':
|