diff options
author | jperkin <jperkin@pkgsrc.org> | 2013-12-12 12:24:47 +0000 |
---|---|---|
committer | jperkin <jperkin@pkgsrc.org> | 2013-12-12 12:24:47 +0000 |
commit | 04e41c86e0c0e84419ee96802825dab9426ad826 (patch) | |
tree | 9e38e8cdcad437f30becdb3a327f422eeb1b8fd0 /www/apache22 | |
parent | 5481ddebd54f85d3a613109f0846aab87fa50451 (diff) | |
download | pkgsrc-04e41c86e0c0e84419ee96802825dab9426ad826.tar.gz |
When recursively chowning, ensure the -P flag is specified. This is default
on BSD but not on strict POSIX implementations, leading to failures when
building as an unprivileged user in the presence of symlinks.
Fixes recent breakage on SunOS when the '-h' flag was removed for MirBSD.
Diffstat (limited to 'www/apache22')
-rw-r--r-- | www/apache22/Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/www/apache22/Makefile b/www/apache22/Makefile index 64ea281f48d..5d804a4f559 100644 --- a/www/apache22/Makefile +++ b/www/apache22/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.95 2013/12/03 21:18:36 bsiegert Exp $ +# $NetBSD: Makefile,v 1.96 2013/12/12 12:24:48 jperkin Exp $ DISTNAME= httpd-2.2.25 PKGNAME= ${DISTNAME:S/httpd/apache/} @@ -228,9 +228,9 @@ post-install: ${CHMOD} ${BINMODE} ${DESTDIR}${PREFIX}/sbin/$$file; \ done - ${CHOWN} -R ${BINOWN}:${BINGRP} ${DESTDIR}${PREFIX}/share/httpd - ${CHOWN} -R ${BINOWN}:${BINGRP} ${DESTDIR}${PREFIX}/include/httpd - ${CHOWN} -R ${BINOWN}:${BINGRP} ${DESTDIR}${PREFIX}/lib/httpd + ${CHOWN} -RP ${BINOWN}:${BINGRP} ${DESTDIR}${PREFIX}/share/httpd + ${CHOWN} -RP ${BINOWN}:${BINGRP} ${DESTDIR}${PREFIX}/include/httpd + ${CHOWN} -RP ${BINOWN}:${BINGRP} ${DESTDIR}${PREFIX}/lib/httpd ${CHOWN} ${BINOWN}:${BINGRP} ${DESTDIR}${PREFIX}/libexec/cgi-bin/test-cgi ${CHOWN} ${BINOWN}:${BINGRP} ${DESTDIR}${PREFIX}/libexec/cgi-bin/printenv |