summaryrefslogtreecommitdiff
path: root/www/mod_auth_pwcheck
diff options
context:
space:
mode:
authorBill Fenner <fenner@FreeBSD.org>2002-01-06 18:23:49 +0000
committerBill Fenner <fenner@FreeBSD.org>2002-01-06 18:23:49 +0000
commit84f0b46afe54bd7dcaac6c4292e35ba378260166 (patch)
tree2e3218da70bf29d92715d09d1e4c1a29d871662c /www/mod_auth_pwcheck
parentadd missing files to PLIST (diff)
Quiet down apxs and make if the installed Apache has no DSO support.
e.g. apxs:Error: Sorry, no DSO support for Apache available apxs:Error: under your platform. Make sure the Apache apxs:Error: module mod_so is compiled into your server apxs:Error: binary `/usr/local/sbin/httpd'. "Makefile", line 29: warning: "/usr/local/sbin/apxs -q TARGET" returned non-zero status
Notes
Notes: svn path=/head/; revision=52655
Diffstat (limited to 'www/mod_auth_pwcheck')
-rw-r--r--www/mod_auth_pwcheck/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/www/mod_auth_pwcheck/Makefile b/www/mod_auth_pwcheck/Makefile
index 17407b1635c8..7ba6037a4b6f 100644
--- a/www/mod_auth_pwcheck/Makefile
+++ b/www/mod_auth_pwcheck/Makefile
@@ -22,12 +22,14 @@ WRKSRC= ${WRKDIR}/${PORTNAME}
APXS?= ${LOCALBASE}/sbin/apxs
.if exists(${APXS})
-AP_MOD_SSL_SUFFIX!= ${APXS} -q CFLAGS | ${GREP} DMOD_SSL >/dev/null \
+AP_MOD_SSL_SUFFIX!= ${APXS} -q CFLAGS 2>/dev/null \
+ | ${GREP} DMOD_SSL >/dev/null \
|| ${ECHO} -modssl
-AP_CATEGORY!= ${APXS} -q CFLAGS | ${GREP} DRUSSIAN_APACHE >/dev/null \
+AP_CATEGORY!= ${APXS} -q CFLAGS 2>/dev/null \
+ | ${GREP} DRUSSIAN_APACHE >/dev/null \
|| ${ECHO} www
-AP_TARGET!= ${APXS} -q TARGET
-AP_LIBEXEC!= ${APXS} -q LIBEXECDIR | ${SED} 's@^${PREFIX}/@@'
+AP_TARGET!= ${APXS} -q TARGET 2>/dev/null || ${ECHO}
+AP_LIBEXEC!= ${APXS} -q LIBEXECDIR 2>/dev/null | ${SED} 's@^${PREFIX}/@@'
.else
AP_CATEGORY= www
.endif