aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--devel/swig13/Makefile4
-rw-r--r--devel/swig20/Makefile4
2 files changed, 2 insertions, 6 deletions
diff --git a/devel/swig13/Makefile b/devel/swig13/Makefile
index 9b86061fdc8..0f43403be4b 100644
--- a/devel/swig13/Makefile
+++ b/devel/swig13/Makefile
@@ -38,9 +38,7 @@ PLIST_SUB+= WANT_SWIG_PERL=""
PLIST_SUB+= WANT_SWIG_PERL="@comment "
.endif
.if defined(WANT_SWIG_PHP4)
-# We need both mod_php4 and php4
-BUILD_DEPENDS+= ${LOCALBASE}/libexec/apache/libphp4.so:${PORTSDIR}/www/mod_php4 \
- php:${PORTSDIR}/www/mod_php4
+BUILD_DEPENDS+= ${LOCALBASE}/include/php/main/php.h:${PORTSDIR}/lang/php4
PLIST_SUB+= WANT_SWIG_PHP4=""
.else
PLIST_SUB+= WANT_SWIG_PHP4="@comment "
diff --git a/devel/swig20/Makefile b/devel/swig20/Makefile
index 9b86061fdc8..0f43403be4b 100644
--- a/devel/swig20/Makefile
+++ b/devel/swig20/Makefile
@@ -38,9 +38,7 @@ PLIST_SUB+= WANT_SWIG_PERL=""
PLIST_SUB+= WANT_SWIG_PERL="@comment "
.endif
.if defined(WANT_SWIG_PHP4)
-# We need both mod_php4 and php4
-BUILD_DEPENDS+= ${LOCALBASE}/libexec/apache/libphp4.so:${PORTSDIR}/www/mod_php4 \
- php:${PORTSDIR}/www/mod_php4
+BUILD_DEPENDS+= ${LOCALBASE}/include/php/main/php.h:${PORTSDIR}/lang/php4
PLIST_SUB+= WANT_SWIG_PHP4=""
.else
PLIST_SUB+= WANT_SWIG_PHP4="@comment "