Botan/Botan-fix_install_paths.patch

27 lines
1.2 KiB
Diff
Raw Normal View History

Index: src/build-data/makefile/unix.in
===================================================================
--- src/build-data/makefile/unix.in.orig 2009-11-03 19:02:17.000000000 +0100
+++ src/build-data/makefile/unix.in 2009-12-11 19:10:50.687527483 +0100
@@ -19,7 +19,7 @@ VERSION = %{version}
##################################################
DESTDIR = %{prefix}
-BINDIR = $(DESTDIR)/bin
+BINDIR = $(DESTDIR)/%{prefix}/bin
LIBDIR = $(DESTDIR)/%{libdir}
HEADERDIR = $(DESTDIR)/%{includedir}/botan
DOCDIR = $(DESTDIR)/%{docdir}/Botan-$(VERSION)
Index: src/build-data/makefile/unix_shr.in
===================================================================
--- src/build-data/makefile/unix_shr.in.orig 2009-11-03 19:02:17.000000000 +0100
+++ src/build-data/makefile/unix_shr.in 2009-12-11 19:10:40.239524087 +0100
@@ -22,7 +22,7 @@ SO_VERSION = %{so_version}
##################################################
DESTDIR = %{prefix}
-BINDIR = $(DESTDIR)/bin
+BINDIR = $(DESTDIR)/%{prefix}/bin
LIBDIR = $(DESTDIR)/%{libdir}
HEADERDIR = $(DESTDIR)/%{includedir}/botan
DOCDIR = $(DESTDIR)/%{docdir}/Botan-$(VERSION)