diff --git a/lang/php5/Makefile b/lang/php5/Makefile index 1c4e337a489a..593c1c93e03f 100644 --- a/lang/php5/Makefile +++ b/lang/php5/Makefile @@ -60,7 +60,8 @@ PATCH_DIST_STRIP= -p1 .if !defined(WITHOUT_SUHOSIN) PATCHFILES+= suhosin-patch-${PORTVERSION}-0.9.6.2.patch.gz:suhosin -PATCH_SITES+= http://www.hardened-php.net/suhosin/_media/:suhosin +PATCH_SITES+= http://www.hardened-php.net/suhosin/_media/:suhosin \ + ${MASTER_SITE_LOCAL:S/%SUBDIR%\//erwin\/:suhosin/} PLIST_SUB+= SUHOSIN="" .else PLIST_SUB+= SUHOSIN="@comment " diff --git a/lang/php53/Makefile b/lang/php53/Makefile index 1c4e337a489a..593c1c93e03f 100644 --- a/lang/php53/Makefile +++ b/lang/php53/Makefile @@ -60,7 +60,8 @@ PATCH_DIST_STRIP= -p1 .if !defined(WITHOUT_SUHOSIN) PATCHFILES+= suhosin-patch-${PORTVERSION}-0.9.6.2.patch.gz:suhosin -PATCH_SITES+= http://www.hardened-php.net/suhosin/_media/:suhosin +PATCH_SITES+= http://www.hardened-php.net/suhosin/_media/:suhosin \ + ${MASTER_SITE_LOCAL:S/%SUBDIR%\//erwin\/:suhosin/} PLIST_SUB+= SUHOSIN="" .else PLIST_SUB+= SUHOSIN="@comment "