diff options
author | Dirk Meyer <dinoex@FreeBSD.org> | 2006-03-20 20:16:46 +0000 |
---|---|---|
committer | Dirk Meyer <dinoex@FreeBSD.org> | 2006-03-20 20:16:46 +0000 |
commit | eb5c1928ff7625bb7808c65f23f450b69e171033 (patch) | |
tree | 799908d6c25130f41f3316143aa2ab04eb6de843 /www/mod_ruby | |
parent | - Update to 3.2.4 (diff) |
- use some magic from bsd.apache.mk
Diffstat (limited to 'www/mod_ruby')
-rw-r--r-- | www/mod_ruby/Makefile | 5 |
1 files changed, 2 insertions, 3 deletions
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 <bsd.port.pre.mk> -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 |