summaryrefslogtreecommitdiffhomepage
path: root/pkg/rpm/Makefile
diff options
context:
space:
mode:
authorAlejandro Colomar <alx@nginx.com>2023-03-27 13:43:37 +0200
committerAlejandro Colomar <alx@nginx.com>2023-03-29 00:40:40 +0200
commit5ba79b9b524ef746bc3269520c3f6b893f39275c (patch)
treed2c81fb988fe3c371ff5aa969abd7bf82459927a /pkg/rpm/Makefile
parente242b1454dff7a6be17ed2e2c06884fec528ad1b (diff)
downloadunit-5ba79b9b524ef746bc3269520c3f6b893f39275c.tar.gz
unit-5ba79b9b524ef746bc3269520c3f6b893f39275c.tar.bz2
Renamed --libstatedir to --statedir.
In BSD systems, it's usually </var/db> or some other dir under </var> that is not </var/lib>, so $statedir is a more generic name. See hier(7). Reported-by: Andrei Zeliankou <zelenkov@nginx.com> Reported-by: Zhidao Hong <z.hong@f5.com> Reviewed-by: Konstantin Pavlov <thresh@nginx.com> Reviewed-by: Andrew Clayton <a.clayton@nginx.com> Cc: Liam Crilly <liam@nginx.com> Signed-off-by: Alejandro Colomar <alx@nginx.com>
Diffstat (limited to 'pkg/rpm/Makefile')
-rw-r--r--pkg/rpm/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/rpm/Makefile b/pkg/rpm/Makefile
index a6efb625..b3265eac 100644
--- a/pkg/rpm/Makefile
+++ b/pkg/rpm/Makefile
@@ -108,7 +108,7 @@ endif
CONFIGURE_ARGS_COMMON=\
--prefix=/usr \
- --libstatedir=%{_sharedstatedir}/unit \
+ --statedir=%{_sharedstatedir}/unit \
--control="unix:/var/run/unit/control.sock" \
--pid=/var/run/unit/unit.pid \
--log=/var/log/unit/unit.log \