diff options
author | Steve Wills <swills@FreeBSD.org> | 2012-02-07 19:15:28 +0000 |
---|---|---|
committer | Steve Wills <swills@FreeBSD.org> | 2012-02-07 19:15:28 +0000 |
commit | c10204f4c6e663f93241de79661d0f9042ba50a0 (patch) | |
tree | c2b48837d0b01f7a170681ff48c7dd0c1c758415 /www/mod_pagespeed | |
parent | 1dc3971803ef3755cf7195fe5bff18430a851794 (diff) | |
download | ports-c10204f4c6e663f93241de79661d0f9042ba50a0.tar.gz ports-c10204f4c6e663f93241de79661d0f9042ba50a0.zip |
Notes
Diffstat (limited to 'www/mod_pagespeed')
-rw-r--r-- | www/mod_pagespeed/Makefile | 4 | ||||
-rw-r--r-- | www/mod_pagespeed/files/extra-gperf.gypi | 2 | ||||
-rw-r--r-- | www/mod_pagespeed/files/patch-base.gypi | 2 |
3 files changed, 5 insertions, 3 deletions
diff --git a/www/mod_pagespeed/Makefile b/www/mod_pagespeed/Makefile index 13aecfb26803..68b416941df7 100644 --- a/www/mod_pagespeed/Makefile +++ b/www/mod_pagespeed/Makefile @@ -60,8 +60,10 @@ BUILD_DEPENDS+= ${LOCALBASE}/bin/gperf:${PORTSDIR}/devel/gperf .endif post-patch: + ${REINPLACE_CMD} -e "s,%%LOCALBASE%%,${LOCALBASE},g" \ + ${WRKSRC}/base/base.gypi .if ${OSVERSION} < 802517 || ${OSVERSION} < 900502 - ${REINPLACE_CMD} -e "s,%%LOCALBASE%%,${LOCALBASE}/bin,g" \ + ${REINPLACE_CMD} -e "s,%%LOCALBASE%%,${LOCALBASE},g" \ ${WRKSRC}/net/instaweb/gperf.gypi .endif diff --git a/www/mod_pagespeed/files/extra-gperf.gypi b/www/mod_pagespeed/files/extra-gperf.gypi index bbf79b8e850d..944b0004ac16 100644 --- a/www/mod_pagespeed/files/extra-gperf.gypi +++ b/www/mod_pagespeed/files/extra-gperf.gypi @@ -4,7 +4,7 @@ 'message': 'Generating C++ code from <(RULE_INPUT_PATH)', 'variables': { 'gperf_out_dir': '<(SHARED_INTERMEDIATE_DIR)/gperf_out/instaweb', -+ 'gperf_bin_dir': '%%LOCALBASE%%', ++ 'gperf_bin_dir': '%%LOCALBASE%%/bin', }, 'outputs': [ '<(gperf_out_dir)/<(instaweb_gperf_subdir)/<(RULE_INPUT_ROOT).gp.cc', diff --git a/www/mod_pagespeed/files/patch-base.gypi b/www/mod_pagespeed/files/patch-base.gypi index 4c1532b36110..6d41eec0d328 100644 --- a/www/mod_pagespeed/files/patch-base.gypi +++ b/www/mod_pagespeed/files/patch-base.gypi @@ -4,7 +4,7 @@ 'base_target': 0, 'base_extra_target': 0, 'chromium_root': '<(DEPTH)/third_party/chromium/src', -+ 'system_include_path_execinfo%': '/usr/local/include', ++ 'system_include_path_execinfo%': '%%LOCALBASE%%/include', }, 'target_conditions': [ # This part is shared between the targets defined below. Only files and |