SF.net SVN: gar:[24566] csw/mgar/pkg/tomcat6/trunk/Makefile

dmichelsen at users.sourceforge.net dmichelsen at users.sourceforge.net
Fri Jan 16 18:46:35 CET 2015


Revision: 24566
          http://sourceforge.net/p/gar/code/24566
Author:   dmichelsen
Date:     2015-01-16 17:46:34 +0000 (Fri, 16 Jan 2015)
Log Message:
-----------
tomcat6/trunk: Put .so into library package - java wants it that way

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

Modified: csw/mgar/pkg/tomcat6/trunk/Makefile
===================================================================
--- csw/mgar/pkg/tomcat6/trunk/Makefile	2015-01-16 14:08:26 UTC (rev 24565)
+++ csw/mgar/pkg/tomcat6/trunk/Makefile	2015-01-16 17:46:34 UTC (rev 24566)
@@ -24,12 +24,15 @@
 
 PACKAGES += CSWlibtcnative1-0
 SPKG_DESC_CSWlibtcnative1-0 = Tomcat Native Java library
-PKGFILES_CSWlibtcnative1-0 += $(call pkgfiles_lib,libtcnative-1.so.0)
+PKGFILES_CSWlibtcnative1-0 += $(call pkgfiles_lib,libtcnative-1.so)
 RUNTIME_DEP_PKGS_CSWlibtcnative1-0 += CSWlibapr1-0
 RUNTIME_DEP_PKGS_CSWlibtcnative1-0 += CSWlibssl1-0-0
 
 PACKAGES += CSWlibtcnative-dev
 SPKG_DESC_CSWlibtcnative-dev = Development files for Tomcat Native Java library
+# The .so *must* go into the library package as this name id dlopen'ed by java
+PKGFILES_DEVEL_SHAREDLIBLINK =
+CHECKPKG_OVERRIDES_CSWlibtcnative1-0 += shared-lib-package-contains-so-symlink|file=/opt/csw/lib/libtcnative-1.so
 PKGFILES_CSWlibtcnative-dev += $(PKGFILES_DEVEL)
 RUNTIME_DEP_PKGS_CSWlibtcnative-dev += CSWlibtcnative1-0
 

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