aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2006-03-21 04:16:46 +0800
committerdinoex <dinoex@FreeBSD.org>2006-03-21 04:16:46 +0800
commit30d3a436aad360a42fee4377cb47a2582db23c35 (patch)
treed806499b8eef7800142443ea56b1dafe65252873 /www
parentbd0df70bc81af3dc28b3738e2d629ab88df057e3 (diff)
downloadfreebsd-ports-graphics-30d3a436aad360a42fee4377cb47a2582db23c35.tar.gz
freebsd-ports-graphics-30d3a436aad360a42fee4377cb47a2582db23c35.tar.zst
freebsd-ports-graphics-30d3a436aad360a42fee4377cb47a2582db23c35.zip
- use some magic from bsd.apache.mk
Diffstat (limited to 'www')
-rw-r--r--www/mod_ruby/Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/www/mod_ruby/Makefile b/www/mod_ruby/Makefile
index 121c069cfb9..edc3139e9d8 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