Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37728764
en ru br
ALT Linux repos
S:4.6.1-alt8
5.0: 4.5.1-alt3.git20090319.M50.1
3.0: 4.0.2-alt1

Group :: Development/C++
RPM: wvstreams

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: wvstreams-4.0.2-alt-makefile-soname.patch
Download


--- wvstreams-4.0.2/Makefile-	2005-03-24 02:01:23 +0000
+++ wvstreams-4.0.2/Makefile	2005-04-30 11:58:16 +0000
@@ -32,7 +32,8 @@ install-xplc: xplc
 
 endif
 
-%.so: SONAME=$@.$(RELEASE)
+SOFFIX = -$(RELEASE).so
+%.so: SONAME=$*$(SOFFIX)
 
 .PHONY: clean depend dust kdoc doxygen install install-shared install-dev install-xplc uninstall tests dishes dist distclean realclean test
 
@@ -115,7 +115,7 @@ install: install-shared install-dev inst
 install-shared: $(TARGETS_SO)
 	$(INSTALL) -d $(DESTDIR)$(libdir)
 	for i in $(TARGETS_SO); do \
-	    $(INSTALL_PROGRAM) $$i.$(RELEASE) $(DESTDIR)$(libdir)/ ; \
+	    $(INSTALL_PROGRAM) $${i%.so}$(SOFFIX) $(DESTDIR)$(libdir)/ ; \
 	done
 	$(INSTALL) -d $(DESTDIR)$(sysconfdir)
 	$(INSTALL_DATA) uniconf/daemon/uniconf.conf $(DESTDIR)$(sysconfdir)/
@@ -129,7 +129,7 @@ install-dev: $(TARGETS_SO) $(TARGETS_A)
 	done
 	cd $(DESTDIR)$(libdir) && for i in $(TARGETS_SO); do \
 	    rm -f $$i; \
-	    $(LN_S) $$i.$(RELEASE) $$i; \
+	    $(LN_S) $${i%.so}$(SOFFIX) $$i; \
 	done
 	$(INSTALL) -d $(DESTDIR)$(libdir)/pkgconfig
 	$(INSTALL_DATA) $(wildcard pkgconfig/*.pc) $(DESTDIR)$(libdir)/pkgconfig
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin