aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErwin Lansing <erwin@FreeBSD.org>2007-05-22 10:12:51 +0000
committerErwin Lansing <erwin@FreeBSD.org>2007-05-22 10:12:51 +0000
commit154deac572b5fe4fb0cbad50a2ef036534842596 (patch)
tree1307b52e46a713435a78635ad5806f7a5ae7cbe5
parentbc662d3400a444345de2f0f5aaa008a6b028b4cc (diff)
downloadports-154deac572b5fe4fb0cbad50a2ef036534842596.tar.gz
ports-154deac572b5fe4fb0cbad50a2ef036534842596.zip
Notes
-rw-r--r--lang/php5/Makefile3
-rw-r--r--lang/php53/Makefile3
2 files changed, 4 insertions, 2 deletions
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 "