summaryrefslogtreecommitdiffhomepage
path: root/pkg/rpm/Makefile
diff options
context:
space:
mode:
authorKonstantin Pavlov <thresh@nginx.com>2023-02-06 12:39:06 -0800
committerKonstantin Pavlov <thresh@nginx.com>2023-02-06 12:39:06 -0800
commitb0bb829107094a64ed6c93b88b6ed4847bd3fa53 (patch)
tree1bc9edd557e3bf43d9726262db7b63baae16683d /pkg/rpm/Makefile
parent789762ff3d88a1c006babc7a8e7037e0976ad70f (diff)
downloadunit-b0bb829107094a64ed6c93b88b6ed4847bd3fa53.tar.gz
unit-b0bb829107094a64ed6c93b88b6ed4847bd3fa53.tar.bz2
Packages: get rid of deprecated configure options.
Diffstat (limited to 'pkg/rpm/Makefile')
-rw-r--r--pkg/rpm/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/rpm/Makefile b/pkg/rpm/Makefile
index 5c104ca3..a6efb625 100644
--- a/pkg/rpm/Makefile
+++ b/pkg/rpm/Makefile
@@ -108,11 +108,11 @@ endif
CONFIGURE_ARGS_COMMON=\
--prefix=/usr \
- --state=%{_sharedstatedir}/unit \
+ --libstatedir=%{_sharedstatedir}/unit \
--control="unix:/var/run/unit/control.sock" \
--pid=/var/run/unit/unit.pid \
--log=/var/log/unit/unit.log \
- --tmp=/var/tmp \
+ --tmpdir=/var/tmp \
--user=unit \
--group=unit \
--tests \