summaryrefslogtreecommitdiff
path: root/user/apache-httpd/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-05-30 22:26:51 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-05-30 22:26:57 +0000
commit3207a198ae2c91de430515b07c4b34229460edb8 (patch)
tree3652e16aa7dc7533dc15129c92c4168eecef6cbf /user/apache-httpd/APKBUILD
parent948e39e3934c7860b355e78cf6c93a51002ca9db (diff)
downloadpackages-3207a198ae2c91de430515b07c4b34229460edb8.tar.gz
packages-3207a198ae2c91de430515b07c4b34229460edb8.tar.bz2
packages-3207a198ae2c91de430515b07c4b34229460edb8.tar.xz
packages-3207a198ae2c91de430515b07c4b34229460edb8.zip
user/apache-httpd: fix package() on very high core count CPUs
It tried creating directories multiple times without -p, so it failed.
Diffstat (limited to 'user/apache-httpd/APKBUILD')
-rw-r--r--user/apache-httpd/APKBUILD3
1 files changed, 1 insertions, 2 deletions
diff --git a/user/apache-httpd/APKBUILD b/user/apache-httpd/APKBUILD
index f156f7094..4f4ea3414 100644
--- a/user/apache-httpd/APKBUILD
+++ b/user/apache-httpd/APKBUILD
@@ -66,7 +66,7 @@ build() {
package() {
cd "$builddir"
- make DESTDIR="$pkgdir" install
+ make DESTDIR="$pkgdir" -j1 install
# apache-provided configuration is awful
rm "$pkgdir"/etc/apache2/*.conf
@@ -85,7 +85,6 @@ package() {
install -Dm644 "$srcdir"/apache-httpd.confd "$pkgdir"/etc/conf.d/apache-httpd
install -Dm644 "$srcdir"/apache-httpd.logrotate "$pkgdir"/etc/logrotate.d/apache-httpd
- install -d "$pkgdir"/var/www
install -dm2750 -g wheel "$pkgdir"/var/log/apache2
}