]> git.pld-linux.org Git - packages/libssh2.git/blob - libssh2-DESTDIR.patch
- updated to 0.5 (BC break)
[packages/libssh2.git] / libssh2-DESTDIR.patch
1 diff -burN libssh2-0.4.orig/Makefile.in libssh2-0.4/Makefile.in
2 --- libssh2-0.4.orig/Makefile.in        2004-12-25 11:49:22.235014936 +0100
3 +++ libssh2-0.4/Makefile.in     2004-12-25 11:50:31.301515232 +0100
4 @@ -21,14 +21,14 @@
5         $(CC) -o ssh2_sample.o ssh2_sample.c $(CFLAGS)
6         $(CC) -o ssh2_sample ssh2_sample.o $(LIBS)
7  install:
8 -       $(top_srcdir)/mkinstalldirs $(incldir)
9 -       $(top_srcdir)/mkinstalldirs $(libdir)
10 +       $(top_srcdir)/mkinstalldirs $(DESTDIR)$(incldir)
11 +       $(top_srcdir)/mkinstalldirs $(DESTDIR)$(libdir)
12         @for dir in ${subdirs}; do \
13                 (cd $$dir && $(MAKE) install) \
14                 || case "$(MFLAGS)" in *k*) fail=yes;; *) exit 1;; esac; \
15         done && test -z "$$fail"
16 -       $(INSTALL) -m 644 include/libssh2.h $(incldir)/
17 -       $(INSTALL) -m 644 include/libssh2_sftp.h $(incldir)/
18 +       $(INSTALL) -m 644 include/libssh2.h $(DESTDIR)$(incldir)/
19 +       $(INSTALL) -m 644 include/libssh2_sftp.h $(DESTDIR)$(incldir)/
20  clean:
21         @for dir in ${subdirs}; do \
22                 (cd $$dir && $(MAKE) clean) \
23 diff -burN libssh2-0.4.orig/src/Makefile.in libssh2-0.4/src/Makefile.in
24 --- libssh2-0.4.orig/src/Makefile.in    2004-12-25 11:49:22.238014480 +0100
25 +++ libssh2-0.4/src/Makefile.in 2004-12-25 11:50:43.553652624 +0100
26 @@ -57,7 +57,7 @@
27         ar q libssh2.a $(OBJECTS)
28         @RANLIB@ libssh2.a
29  install: all
30 -       $(INSTALL) libssh2.@SHLIB_SUFFIX_NAME@ $(libdir)
31 +       $(INSTALL) libssh2.@SHLIB_SUFFIX_NAME@ $(DESTDIR)$(libdir)
32  clean:
33         rm -f *~ libssh2.a libssh2.@SHLIB_SUFFIX_NAME@ *.o
34  
This page took 0.030827 seconds and 3 git commands to generate.