aboutsummaryrefslogtreecommitdiff
path: root/www/mod_webkit/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'www/mod_webkit/Makefile')
-rw-r--r--www/mod_webkit/Makefile14
1 files changed, 3 insertions, 11 deletions
diff --git a/www/mod_webkit/Makefile b/www/mod_webkit/Makefile
index 724e766bc68a..24c5e81567e2 100644
--- a/www/mod_webkit/Makefile
+++ b/www/mod_webkit/Makefile
@@ -17,21 +17,13 @@ COMMENT= A apache module for WebWare WebKit AppServer
MAKE_JOBS_SAFE= yes
-USE_APACHE= 13+
+USE_APACHE= 20+
AP_FAST_BUILD= yes
AP_GENPLIST= yes
-.include <bsd.port.pre.mk>
-
-.if ${APACHE_VERSION} >= 20
-APACHE_VER= 2
-.else
-APACHE_VER= 1
-.endif
-
-WRKSRC= ${WRKDIR}/Webware-${PORTVERSION}/WebKit/Adapters/${PORTNAME}${APACHE_VER}
+WRKSRC= ${WRKDIR}/Webware-${PORTVERSION}/WebKit/Adapters/${PORTNAME}2
post-patch:
@${REINPLACE_CMD} -e 's|/usr/sbin/apxs|${APXS}|' ${WRKSRC}/Makefile
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>