summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYixun Lan <dlan@gentoo.org>2015-12-08 19:38:26 +0800
committerYixun Lan <dlan@gentoo.org>2015-12-08 19:38:26 +0800
commit99e2622db706cdda6a4e23b18bc5fb0d2a665fef (patch)
tree203a0302ee703cafd2f52dd8ba915c2b4c46f40c /sys-process/criu/files
parentdev-java/glassfish-deployment-api: EAPI 5 bump && version bump. (diff)
downloadgentoo-99e2622db706cdda6a4e23b18bc5fb0d2a665fef.tar.gz
gentoo-99e2622db706cdda6a4e23b18bc5fb0d2a665fef.tar.bz2
gentoo-99e2622db706cdda6a4e23b18bc5fb0d2a665fef.zip
sys-process/criu: version bump to 1.8
Package-Manager: portage-2.2.24
Diffstat (limited to 'sys-process/criu/files')
-rw-r--r--sys-process/criu/files/criu-1.8-makefile.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/sys-process/criu/files/criu-1.8-makefile.patch b/sys-process/criu/files/criu-1.8-makefile.patch
new file mode 100644
index 000000000000..2c1921f55f58
--- /dev/null
+++ b/sys-process/criu/files/criu-1.8-makefile.patch
@@ -0,0 +1,25 @@
+diff --git a/Makefile.inc b/Makefile.inc
+index 5f0a552..4abc9ab 100644
+--- a/Makefile.inc
++++ b/Makefile.inc
+@@ -15,16 +15,11 @@ PREFIX ?= /usr/local
+ SBINDIR ?= $(PREFIX)/sbin
+ MANDIR ?= $(PREFIX)/share/man
+ SYSTEMDUNITDIR ?= $(PREFIX)/lib/systemd/system/
+-LOGROTATEDIR ?= $(PREFIX)/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"
++LOGROTATEDIR ?= $(SYSCONFDIR)/etc/logrotate.d/
++ifeq "$(shell uname -m)" "x86_64"
+ LIBDIR ?= $(PREFIX)/lib64
++else
++LIBDIR ?= $(PREFIX)/lib
+ endif
+
+ INCLUDEDIR ?= $(PREFIX)/include/criu