From eb5c1928ff7625bb7808c65f23f450b69e171033 Mon Sep 17 00:00:00 2001 From: Dirk Meyer Date: Mon, 20 Mar 2006 20:16:46 +0000 Subject: - use some magic from bsd.apache.mk --- www/mod_ruby/Makefile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'www/mod_ruby') diff --git a/www/mod_ruby/Makefile b/www/mod_ruby/Makefile index 121c069cfb9a..edc3139e9d84 100644 --- a/www/mod_ruby/Makefile +++ b/www/mod_ruby/Makefile @@ -16,7 +16,7 @@ COMMENT= An Apache module that embeds Ruby interpreter within LIB_DEPENDS= eruby.10:${PORTSDIR}/textproc/eruby -USE_APACHE= yes +USE_APACHE= 1.3+ USE_RUBY= yes CONFIGURE_ARGS= --with-apxs="${APXS}" \ @@ -34,8 +34,7 @@ DOCS_JA= README.ja doc/default.css doc/*.ja.* .include -AP_CUR_VERSION!= ${ECHO_CMD} ${APACHE_PORT} | ${SED} -ne 's,.*/apache\([0-9]*\).*,\1,p' -.if ${AP_CUR_VERSION} > 20 +.if ${APACHE_VERSION} > 20 CONFIGURE_ARGS+= --with-apr-includes="`${LOCALBASE}/bin/apr-1-config --includedir`" .endif -- cgit v1.2.3