aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorfenner <fenner@FreeBSD.org>2002-01-07 02:23:49 +0800
committerfenner <fenner@FreeBSD.org>2002-01-07 02:23:49 +0800
commitf9dab796192c16893455a425b54c40b863ea1130 (patch)
tree22a81724be19e2cdfa043e18145f8748fd9e6c4e /www
parentdaf56f8bef10a690c25357443a59b933fb88fc94 (diff)
downloadfreebsd-ports-gnome-f9dab796192c16893455a425b54c40b863ea1130.tar.gz
freebsd-ports-gnome-f9dab796192c16893455a425b54c40b863ea1130.tar.zst
freebsd-ports-gnome-f9dab796192c16893455a425b54c40b863ea1130.zip
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
Diffstat (limited to 'www')
-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