mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
- use some magic from bsd.apache.mk
This commit is contained in:
parent
646283c782
commit
eb5c1928ff
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=157785
1 changed files with 2 additions and 3 deletions
|
@ -16,7 +16,7 @@ COMMENT= An Apache module that embeds Ruby interpreter within
|
||||||
|
|
||||||
LIB_DEPENDS= eruby.10:${PORTSDIR}/textproc/eruby
|
LIB_DEPENDS= eruby.10:${PORTSDIR}/textproc/eruby
|
||||||
|
|
||||||
USE_APACHE= yes
|
USE_APACHE= 1.3+
|
||||||
USE_RUBY= yes
|
USE_RUBY= yes
|
||||||
|
|
||||||
CONFIGURE_ARGS= --with-apxs="${APXS}" \
|
CONFIGURE_ARGS= --with-apxs="${APXS}" \
|
||||||
|
@ -34,8 +34,7 @@ DOCS_JA= README.ja doc/default.css doc/*.ja.*
|
||||||
|
|
||||||
.include <bsd.port.pre.mk>
|
.include <bsd.port.pre.mk>
|
||||||
|
|
||||||
AP_CUR_VERSION!= ${ECHO_CMD} ${APACHE_PORT} | ${SED} -ne 's,.*/apache\([0-9]*\).*,\1,p'
|
.if ${APACHE_VERSION} > 20
|
||||||
.if ${AP_CUR_VERSION} > 20
|
|
||||||
CONFIGURE_ARGS+= --with-apr-includes="`${LOCALBASE}/bin/apr-1-config --includedir`"
|
CONFIGURE_ARGS+= --with-apr-includes="`${LOCALBASE}/bin/apr-1-config --includedir`"
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue