diff options
author | Michael 'Mickey' Lauer <mickey@vanille-media.de> | 2009-12-28 16:46:06 +0100 |
---|---|---|
committer | Michael 'Mickey' Lauer <mickey@vanille-media.de> | 2009-12-28 16:46:06 +0100 |
commit | 9ad9958d6f27c98f986138d9d5b8719d4924a43f (patch) | |
tree | 0ec0910196038a23d931d96e7bac3fe100be2f7e /recipes/rcs/files/fix-installpath.patch | |
parent | 4f4f16421c889272806916278c9c0a07aba8158f (diff) |
rcs: new recipe; a revision control system. Closes OE #5050
Diffstat (limited to 'recipes/rcs/files/fix-installpath.patch')
-rw-r--r-- | recipes/rcs/files/fix-installpath.patch | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/recipes/rcs/files/fix-installpath.patch b/recipes/rcs/files/fix-installpath.patch new file mode 100644 index 0000000000..7cdead1490 --- /dev/null +++ b/recipes/rcs/files/fix-installpath.patch @@ -0,0 +1,33 @@ +diff -Naur a/man/Makefile.in b/man/Makefile.in +--- a/man/Makefile.in 1995-06-16 08:19:24.000000000 +0200 ++++ b/man/Makefile.in 2009-02-06 01:08:20.000000000 +0100 +@@ -33,9 +33,9 @@ + INSTALL_DATA = @INSTALL_DATA@ + PIC = @PIC@ + +-prefix = @prefix@ +-man1dir = $(prefix)/man/man1 +-man5dir = $(prefix)/man/man5 ++mandir = @mandir@ ++man1dir = $(DESTDIR)$(mandir)/man1 ++man5dir = $(DESTDIR)$(mandir)/man5 + man1ext = .1 + man5ext = .5 + +diff -Naur a/src/Makefile.in b/src/Makefile.in +--- a/src/Makefile.in 1995-06-16 08:19:24.000000000 +0200 ++++ b/src/Makefile.in 2009-02-06 00:43:23.000000000 +0100 +@@ -110,11 +110,11 @@ + $(CC) -c $(ALL_CFLAGS) $< + + installdirs :: ../mkinstalldirs +- $(srcdir)/../mkinstalldirs $(bindir) ++ $(srcdir)/../mkinstalldirs $(DESTDIR)$(bindir) + + install :: all installdirs + for p in $(PROGRAMS); do \ +- $(INSTALL_PROGRAM) $$p $(bindir)/$$p; \ ++ $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/$$p; \ + done + + uninstall :: |