[csw-devel] SF.net SVN: gar:[8846] csw/mgar/pkg/tcpwrappers/trunk/Makefile

dmichelsen at users.sourceforge.net dmichelsen at users.sourceforge.net
Fri Feb 26 17:19:00 CET 2010


Revision: 8846
          http://gar.svn.sourceforge.net/gar/?rev=8846&view=rev
Author:   dmichelsen
Date:     2010-02-26 16:19:00 +0000 (Fri, 26 Feb 2010)

Log Message:
-----------
tcpwrappers: Make sure the library SONAME is registered for the package

Modified Paths:
--------------
    csw/mgar/pkg/tcpwrappers/trunk/Makefile

Modified: csw/mgar/pkg/tcpwrappers/trunk/Makefile
===================================================================
--- csw/mgar/pkg/tcpwrappers/trunk/Makefile	2010-02-26 16:01:56 UTC (rev 8845)
+++ csw/mgar/pkg/tcpwrappers/trunk/Makefile	2010-02-26 16:19:00 UTC (rev 8846)
@@ -110,6 +110,11 @@
 	ginstall $(WORKDIR)/$(notdir $(POSTMSG)) $(PKGROOT)$(POSTMSG)
 	ln -s libwrap.so.1 $(PKGROOT)$(libdir)/libwrap.so
 	ln -s libwrap.so.1 $(PKGROOT)$(libdir)/$(ISA_DEFAULT64)/libwrap.so
+	@# As libwrap.so.1 is the SONAME to be bound against we must register it with the package
+	@# to allow chkpkg to look up the pkgname for the library. This is rewritten by alternatives
+	@# on installation and is solely to register the link path, the destination doesn't matter.
+	ln -s libwrap-std.so.1 $(PKGROOT)$(libdir)/libwrap.so.1
+	ln -s libwrap-std.so.1 $(PKGROOT)$(libdir)/$(ISA_DEFAULT64)/libwrap.so.1
 	@$(MAKECOOKIE)
 
 SPKG_REVSTAMP := $(SPKG_REVSTAMP)_rev=$(RELEASE)


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.


More information about the devel mailing list