From 47c96a504d78001774ff6e3e070c5260edc623c9 Mon Sep 17 00:00:00 2001 From: Akinori MUSHA Date: Fri, 12 Jul 2002 05:00:41 +0000 Subject: [PATCH] - Use apxs to determine the location for httpd.conf. - Make APXS overridable. PR: ports/40283 Submitted by: Sean Chittenden --- www/mod_ruby/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/www/mod_ruby/Makefile b/www/mod_ruby/Makefile index 7cae3ad42330..a66223bdd189 100644 --- a/www/mod_ruby/Makefile +++ b/www/mod_ruby/Makefile @@ -22,7 +22,7 @@ USE_RUBY= yes USE_RUBY_RD= yes .endif -APXS= ${LOCALBASE}/sbin/apxs +APXS?= ${LOCALBASE}/sbin/apxs CONFIGURE_ARGS= --with-apxs="${APXS}" \ --enable-eruby=yes \ @@ -42,7 +42,7 @@ post-build: .endif post-install: - ${INSTALL_DATA} ${WRKSRC}/examples/httpd.conf ${PREFIX}/etc/apache/httpd.conf.${PORTNAME} + ${INSTALL_DATA} ${WRKSRC}/examples/httpd.conf `${APXS} -q SYSCONFDIR`/httpd.conf.${PORTNAME} .if !defined(NOPORTDOCS) ${MKDIR} ${RUBY_DOCDIR}/${PORTNAME}/ja .for f in ${DOCS_EN}