diff options
Diffstat (limited to 'dev-libs/opencryptoki/files/opencryptoki-2.4.2-destdir.patch')
-rw-r--r-- | dev-libs/opencryptoki/files/opencryptoki-2.4.2-destdir.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/dev-libs/opencryptoki/files/opencryptoki-2.4.2-destdir.patch b/dev-libs/opencryptoki/files/opencryptoki-2.4.2-destdir.patch new file mode 100644 index 000000000000..e1375c7130bc --- /dev/null +++ b/dev-libs/opencryptoki/files/opencryptoki-2.4.2-destdir.patch @@ -0,0 +1,26 @@ +From fcc24176398ab2f40c33ebc686c2f803782af8d6 Mon Sep 17 00:00:00 2001 +From: Alon Bar-Lev <alon.barlev@gmail.com> +Date: Sat, 15 Dec 2012 22:13:56 +0200 +Subject: [PATCH] Always use DESTDIR when installing + +--- + usr/Makefile.am | 6 +++--- + 1 files changed, 3 insertions(+), 3 deletions(-) + +diff --git a/usr/Makefile.am b/usr/Makefile.am +index bced120..20352d5 100644 +--- a/usr/Makefile.am ++++ b/usr/Makefile.am +@@ -5,6 +5,6 @@ endif + SUBDIRS = lib $(DAEMONDIRS) + + install-data-hook: +- $(MKDIR_P) $(lockdir) +- $(CHGRP) pkcs11 $(lockdir) +- $(CHMOD) 0770 $(lockdir) ++ $(MKDIR_P) $(DESTDIR)$(lockdir) ++ $(CHGRP) pkcs11 $(DESTDIR)$(lockdir) ++ $(CHMOD) 0770 $(DESTDIR)$(lockdir) +-- +1.7.8.6 + |