diff --git a/www/mod_pagespeed/Makefile b/www/mod_pagespeed/Makefile index 1f93773293a8..6b922acaa3ac 100644 --- a/www/mod_pagespeed/Makefile +++ b/www/mod_pagespeed/Makefile @@ -7,6 +7,7 @@ PORTNAME= mod_pagespeed PORTVERSION= 0.10.22.4 +PORTREVISION= 1 PORTEPOCH= 1 CATEGORIES= www MASTER_SITES= ${MASTER_SITE_LOCAL} @@ -68,7 +69,7 @@ GYP_DEFINES+= \ #GYP_DEFINES+= clang=1 #.endif -.if ${OSVERSION} < 802517 || ${OSVERSION} < 900502 +.if ${OSVERSION} < 802517 || (${OSVERSION} >= 900000 && ${OSVERSION} < 900502) EXTRA_PATCHES= ${FILESDIR}/extra-gperf.gypi BUILD_DEPENDS+= ${LOCALBASE}/bin/gperf:${PORTSDIR}/devel/gperf .endif