summaryrefslogtreecommitdiff
path: root/sys-process/criu/files/criu-makefile.patch
blob: 50781c192aa864cde3cd171c90fa9f048865bbd7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- criu-1.3.1/Makefile.inc
+++ criu-1.3.1/Makefile.inc
@@ -15,15 +15,9 @@
 SBINDIR		:= $(PREFIX)/sbin
 MANDIR		:= $(PREFIX)/share/man
 SYSTEMDUNITDIR	:= $(PREFIX)/lib/systemd/system/
-LOGROTATEDIR	:= $(PREFIX)/etc/logrotate.d/
+LOGROTATEDIR	:= $(SYSCONFDIR)/etc/logrotate.d/
 LIBDIR		:= $(PREFIX)/lib
-# For recent Debian/Ubuntu with multiarch support
-DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture \
-			-qDEB_HOST_MULTIARCH 2>/dev/null)
-ifneq "$(DEB_HOST_MULTIARCH)" ""
-LIBDIR		:= $(PREFIX)/lib/$(DEB_HOST_MULTIARCH)
-# For most other systems
-else ifeq "$(shell uname -m)" "x86_64"
+ifeq "$(shell uname -m)" "x86_64"
 LIBDIR		:= $(PREFIX)/lib64
 endif