Package: stk / 4.5.2+dfsg-5

Fix-install-target-for-new-soname-scheme.patch Patch series | download
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
From: Felipe Sateler <fsateler@debian.org>
Date: Fri, 27 Nov 2015 20:32:46 -0300
Subject: Fix install target for new soname scheme

---
 src/Makefile.in | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/src/Makefile.in b/src/Makefile.in
index 7904bbc..df82595 100644
--- a/src/Makefile.in
+++ b/src/Makefile.in
@@ -92,7 +92,6 @@ $(SHAREDLIB) : $(OBJECTS)
 	$(RM) -f $(@) $(SHAREDLIB).$(MAJOR) $(SHAREDLIB)
 	$(CC) $(LDFLAGS) -fPIC @libflags@ $(OBJECT_PATH)/*.o $(LIBS)
 	$(LN) -s @sharedname@ $(SHAREDLIB)
-#	$(LN) -s @sharedname@ $(SHAREDLIB).$(MAJOR)
 
 install-headers:
 	install -d $(DESTDIR)$(PREFIX)$(INCLUDEDIR)/stk
@@ -100,9 +99,8 @@ install-headers:
 
 install: $(SHAREDLIB) install-headers
 	install -d $(DESTDIR)$(PREFIX)$(LIBDIR)
-	install -m 644 $(SHAREDLIB).$(RELEASE) $(DESTDIR)$(PREFIX)$(LIBDIR)
-	ln -sf $(SHAREDLIB).$(RELEASE) $(DESTDIR)$(PREFIX)$(LIBDIR)/$(SHAREDLIB)
-	ln -sf $(SHAREDLIB).$(RELEASE) $(DESTDIR)$(PREFIX)$(LIBDIR)/$(SHAREDLIB).$(MAJOR)
+	install -m 644 @sharedname@ $(DESTDIR)$(PREFIX)$(LIBDIR)
+	ln -sf @sharedname@ $(DESTDIR)$(PREFIX)$(LIBDIR)/$(SHAREDLIB)
 
 
 $(OBJECTS) : Stk.h