diff options
author | Donnie Berkholz <spyderous@gentoo.org> | 2004-04-08 03:07:32 +0000 |
---|---|---|
committer | Donnie Berkholz <spyderous@gentoo.org> | 2004-04-08 03:07:32 +0000 |
commit | d2806c90995b5795ba4dde02b186fb8b939bcc7d (patch) | |
tree | 86ed803bb0492fd192fb6cb718bfe8d6262b8759 /sys-apps/utempter/files | |
parent | ~amd64 (Manifest recommit) (diff) | |
download | gentoo-2-d2806c90995b5795ba4dde02b186fb8b939bcc7d.tar.gz gentoo-2-d2806c90995b5795ba4dde02b186fb8b939bcc7d.tar.bz2 gentoo-2-d2806c90995b5795ba4dde02b186fb8b939bcc7d.zip |
Add patch to ensure all versioned shared library symlinks are created.
Diffstat (limited to 'sys-apps/utempter/files')
-rw-r--r-- | sys-apps/utempter/files/utempter-0.5.3.2-soname-makefile-fix.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/sys-apps/utempter/files/utempter-0.5.3.2-soname-makefile-fix.patch b/sys-apps/utempter/files/utempter-0.5.3.2-soname-makefile-fix.patch new file mode 100644 index 000000000000..ae50456a987f --- /dev/null +++ b/sys-apps/utempter/files/utempter-0.5.3.2-soname-makefile-fix.patch @@ -0,0 +1,23 @@ +diff -urN utempter-0.5.3.orig/Makefile utempter-0.5.3/Makefile +--- utempter-0.5.3.orig/Makefile 2004-04-07 23:02:39.000000000 -0400 ++++ utempter-0.5.3/Makefile 2004-04-07 23:04:33.000000000 -0400 +@@ -5,6 +5,10 @@ + CVSROOT=$(shell cat CVS/Root) + # major number of the .so lib + SOMAJOR = 0 ++# minor number of the .so lib ++SOMINOR = 5 ++# major number of the .so lib ++SOMICRO = 3 + + SHAREDLIB = lib$(NAME).so + SONAME = $(SHAREDLIB).$(SOMAJOR) +@@ -29,6 +33,8 @@ + install -m 644 utempter.h $(RPM_BUILD_ROOT)/usr/include + install -m 644 $(SHAREDLIB) $(RPM_BUILD_ROOT)/$(LIBDIR)/$(SHAREDLIB).$(VERSION) + ln -sf $(SHAREDLIB).$(VERSION) $(RPM_BUILD_ROOT)/$(LIBDIR)/$(SHAREDLIB) ++ ln -sf $(SHAREDLIB).$(VERSION) $(RPM_BUILD_ROOT)/$(LIBDIR)/$(SHAREDLIB).$(SOMAJOR).$(SOMINOR) ++ ln -sf $(SHAREDLIB).$(VERSION) $(RPM_BUILD_ROOT)/$(LIBDIR)/$(SHAREDLIB).$(SOMAJOR) + + $(SHAREDLIB): utmpintf.os + $(CC) -o $@ -shared -Wl,-soname,$(SONAME) $^ -lc |