diff options
author | pgollucci <pgollucci@FreeBSD.org> | 2009-12-12 07:43:25 +0800 |
---|---|---|
committer | pgollucci <pgollucci@FreeBSD.org> | 2009-12-12 07:43:25 +0800 |
commit | 9b02d1caf7a35235cd2079c54b771f6f2befe73f (patch) | |
tree | 330dda4f23873176447aacbc4b06d40659def85c /www | |
parent | 443450fe4e8b18013d8891c02578a16a8af461bf (diff) | |
download | freebsd-ports-gnome-9b02d1caf7a35235cd2079c54b771f6f2befe73f.tar.gz freebsd-ports-gnome-9b02d1caf7a35235cd2079c54b771f6f2befe73f.tar.zst freebsd-ports-gnome-9b02d1caf7a35235cd2079c54b771f6f2befe73f.zip |
- envvars needs to be sourced before _all_ commands if it exists
PR: ports/138466 (based on)
Submitted by: Dmitry Pryanishnikov <lynx.ripe@gmail.com>
Diffstat (limited to 'www')
-rw-r--r-- | www/apache22/Makefile | 2 | ||||
-rw-r--r-- | www/apache22/files/apache22.in | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/www/apache22/Makefile b/www/apache22/Makefile index 9c26d6b71440..8a6646f744ff 100644 --- a/www/apache22/Makefile +++ b/www/apache22/Makefile @@ -9,7 +9,7 @@ PORTNAME= apache PORTVERSION= 2.2.14 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= www MASTER_SITES= ${MASTER_SITE_APACHE_HTTPD} DISTNAME= httpd-${PORTVERSION} diff --git a/www/apache22/files/apache22.in b/www/apache22/files/apache22.in index f91ddc86cc41..a1fbce396a79 100644 --- a/www/apache22/files/apache22.in +++ b/www/apache22/files/apache22.in @@ -122,6 +122,8 @@ fi apache22_requirepidfile() { + apache22_checkconfig + if [ ! "0`check_pidfile ${pidfile} ${command}`" -gt 1 ]; then echo "${name} not running? (check $pidfile)." exit 1 |