diff options
author | Bill Fenner <fenner@FreeBSD.org> | 2002-01-07 02:23:49 +0800 |
---|---|---|
committer | Bill Fenner <fenner@FreeBSD.org> | 2002-01-07 02:23:49 +0800 |
commit | 84f0b46afe54bd7dcaac6c4292e35ba378260166 (patch) | |
tree | 2e3218da70bf29d92715d09d1e4c1a29d871662c /www/mod_auth_pwcheck | |
parent | 4913377a2b4723c0074de5fb0affc5bb0d6524e4 (diff) | |
download | freebsd-ports-gnome-84f0b46afe54bd7dcaac6c4292e35ba378260166.tar.gz freebsd-ports-gnome-84f0b46afe54bd7dcaac6c4292e35ba378260166.tar.zst freebsd-ports-gnome-84f0b46afe54bd7dcaac6c4292e35ba378260166.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/mod_auth_pwcheck')
-rw-r--r-- | www/mod_auth_pwcheck/Makefile | 10 |
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 |