aboutsummaryrefslogtreecommitdiffstats
path: root/devel/ptlib26/files/patch-Makefile.in
blob: c1919dc1e954649c751cbe3b0f8999544ce00d3d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
--- Makefile.in.orig    2009-07-05 09:52:57.000000000 +0400
+++ Makefile.in 2009-09-11 01:55:40.000000000 +0400
@@ -85,11 +85,12 @@
                      $(DESTDIR)$(PREFIX)/share/ptlib/make ; \
        do mkdir -p $$dir ; chmod 755 $$dir ; \
    done )
-   $(INSTALL) -m 444 $(PT_LIBDIR)/$(PTLIB_FILE).@MAJOR_VERSION@.@MINOR_VERSION@@BUILD_TYPE@@BUILD_NUMBER@ $(DESTDIR)$(LIBDIR)
+   $(INSTALL) -m 444 $(PT_LIBDIR)/$(PTLIB_FILE).@MAJOR_VERSION@.@MINOR_VERSION@@BUILD_TYPE@@BUILD_NUMBER@ $(DESTDIR)$(LIBDIR)/lib$(PTLIB_BASE)-@MAJOR_VERSION@.@MINOR_VERSION@.so@BUILD_TYPE@@BUILD_NUMBER@
    $(INSTALL) -m 444 $(PT_LIBDIR)/lib$(PTLIB_BASE)_s.a $(DESTDIR)$(LIBDIR)
    (cd $(DESTDIR)$(LIBDIR) ; \
        rm -f  $(PTLIB_FILE) ; \
-       ln -sf $(PTLIB_FILE).@MAJOR_VERSION@.@MINOR_VERSION@@BUILD_TYPE@@BUILD_NUMBER@ $(PTLIB_FILE) \
+       ln -sf lib$(PTLIB_BASE)-@MAJOR_VERSION@.@MINOR_VERSION@.so@BUILD_TYPE@@BUILD_NUMBER@ $(PTLIB_FILE) ; \
+       ln -sf lib$(PTLIB_BASE)-@MAJOR_VERSION@.@MINOR_VERSION@.so@BUILD_TYPE@@BUILD_NUMBER@ lib$(PTLIB_BASE)-@MAJOR_VERSION@.@MINOR_VERSION@.so \
    )
 ifeq (1, $(HAS_PLUGINS))
    if test -e $(PT_LIBDIR)/device/; then \
@@ -120,9 +121,9 @@
    $(INSTALL) -m 755 make/ptlib-config $(DESTDIR)$(PREFIX)/share/ptlib/make/
    (cd $(DESTDIR)$(PREFIX)/bin; rm -f ptlib-config ; ln -snf ../share/ptlib/make/ptlib-config ptlib-config)
 
-   mkdir -p $(DESTDIR)$(LIBDIR)/pkgconfig
-   chmod 755 $(DESTDIR)$(LIBDIR)/pkgconfig
-   $(INSTALL) -m 644 ptlib.pc $(DESTDIR)$(LIBDIR)/pkgconfig/
+   mkdir -p $(DESTDIR)$(PREFIX)/libdata/pkgconfig
+   chmod 755 $(DESTDIR)$(PREFIX)/libdata/pkgconfig
+   $(INSTALL) -m 644 ptlib.pc $(DESTDIR)$(PREFIX)/libdata/pkgconfig/
 uninstall:
    rm -rf $(DESTDIR)$(PREFIX)/include/ptlib \
           $(DESTDIR)$(PREFIX)/include/ptclib \
@@ -130,7 +131,7 @@
           $(DESTDIR)$(PREFIX)/include/ptbuildopts.h \
           $(DESTDIR)$(PREFIX)/share/ptlib \
           $(DESTDIR)$(LIBDIR)/$(DEV_PLUGIN_DIR) \
-          $(DESTDIR)$(LIBDIR)/pkgconfig/ptlib.pc
+          $(DESTDIR)$(PREFIX)/libdata/pkgconfig/ptlib.pc
    rm -f $(DESTDIR)$(LIBDIR)/lib$(PTLIB_BASE)_s.a \
          $(DESTDIR)$(LIBDIR)/$(PTLIB_FILE) \
          $(DESTDIR)$(LIBDIR)/$(PTLIB_FILE).@MAJOR_VERSION@.@MINOR_VERSION@@BUILD_TYPE@@BUILD_NUMBER@