SF.net SVN: gar:[23403] csw/mgar/pkg/geos/trunk/Makefile

guengel at users.sourceforge.net guengel at users.sourceforge.net
Sat Apr 12 22:29:57 CEST 2014


Revision: 23403
          http://sourceforge.net/p/gar/code/23403
Author:   guengel
Date:     2014-04-12 20:29:57 +0000 (Sat, 12 Apr 2014)
Log Message:
-----------
geos/trunk: Added OVERRIDES.

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

Modified: csw/mgar/pkg/geos/trunk/Makefile
===================================================================
--- csw/mgar/pkg/geos/trunk/Makefile	2014-04-12 18:47:27 UTC (rev 23402)
+++ csw/mgar/pkg/geos/trunk/Makefile	2014-04-12 20:29:57 UTC (rev 23403)
@@ -26,6 +26,14 @@
 PKGFILES_CSWlibgeos3-4-2 += $(call baseisadirs,$(libdir),libgeos-3\.4\.2\.so(\.\d+)*)
 RUNTIME_DEP_PKGS_CSWlibgeos3-4-2 += CSWlibstdc++6
 RUNTIME_DEP_PKGS_CSWlibgeos3-4-2 += CSWlibgcc-s1
+# Can't change this, obviously developers decided to do so
+CHECKPKG_OVERRIDES_CSWlibgeos3-4-2 += soname-equals-filename|file=/opt/csw/lib/libgeos-3.4.2.so
+CHECKPKG_OVERRIDES_CSWlibgeos3-4-2 += soname-equals-filename|file=/opt/csw/lib/sparcv9/libgeos-3.4.2.so
+# Direct binding messes with unwind handler. We require the unwind handler from libgcc_s.so
+CHECKPKG_OVERRIDES_CSWlibgeos3-4-2 += no-direct-binding|/opt/csw/lib/libgeos-3.4.2.so|is|not|directly|bound|to|soname|libgcc_s.so.1
+CHECKPKG_OVERRIDES_CSWlibgeos3-4-2 += no-direct-binding|/opt/csw/lib/libgeos-3.4.2.so|is|not|directly|bound|to|soname|libstdc++.so.6
+CHECKPKG_OVERRIDES_CSWlibgeos3-4-2 += no-direct-binding|/opt/csw/lib/sparcv9/libgeos-3.4.2.so|is|not|directly|bound|to|soname|libgcc_s.so.1
+CHECKPKG_OVERRIDES_CSWlibgeos3-4-2 += no-direct-binding|/opt/csw/lib/sparcv9/libgeos-3.4.2.so|is|not|directly|bound|to|soname|libstdc++.so.6
 OBSOLETED_BY_CSWlibgeos3-4-2 = CSWgeos
 
 SPKG_DESC_CSWlibgeos-c1 += Geometry Engine, Open Source, libgeos_c.so.1
@@ -34,6 +42,13 @@
 RUNTIME_DEP_PKGS_CSWlibgeos-c1 += CSWlibgeos3-4-2
 RUNTIME_DEP_PKGS_CSWlibgeos-c1 += CSWlibstdc++6
 RUNTIME_DEP_PKGS_CSWlibgeos-c1 += CSWlibgcc-s1
+# Direct binding messes with unwind handler. We require the unwind handler from libgcc_s.so
+CHECKPKG_OVERRIDES_CSWlibgeos-c1 += no-direct-binding|/opt/csw/lib/libgeos_c.so.1.8.2|is|not|directly|bound|to|soname|libgcc_s.so.1
+CHECKPKG_OVERRIDES_CSWlibgeos-c1 += no-direct-binding|/opt/csw/lib/libgeos_c.so.1.8.2|is|not|directly|bound|to|soname|libgeos-3.4.2.so
+CHECKPKG_OVERRIDES_CSWlibgeos-c1 += no-direct-binding|/opt/csw/lib/libgeos_c.so.1.8.2|is|not|directly|bound|to|soname|libstdc++.so.6
+CHECKPKG_OVERRIDES_CSWlibgeos-c1 += no-direct-binding|/opt/csw/lib/sparcv9/libgeos_c.so.1.8.2|is|not|directly|bound|to|soname|libgcc_s.so.1
+CHECKPKG_OVERRIDES_CSWlibgeos-c1 += no-direct-binding|/opt/csw/lib/sparcv9/libgeos_c.so.1.8.2|is|not|directly|bound|to|soname|libgeos-3.4.2.so
+CHECKPKG_OVERRIDES_CSWlibgeos-c1 += no-direct-binding|/opt/csw/lib/sparcv9/libgeos_c.so.1.8.2|is|not|directly|bound|to|soname|libstdc++.so.6
 OBSOLETED_BY_CSWlibgeos-c1 = CSWgeos
 
 SPKG_DESC_CSWgeos-dev = $(DESCRIPTION), development files
@@ -70,7 +85,9 @@
 CONFIGURE_ARGS += --disable-static
 CONFIGURE_ARGS += $(CONFIGURE_ARGS_$(MEMORY_MODEL))
 
-# -B direct breaks code amd64
+# -B direct breaks code amd64. N.B. the unwind handler from libgcc_s
+# -has to be used, therefore libgcc_s has to be loaded before libc on
+# -amd64.
 LINKER_DIRECT =
 
 include gar/category.mk

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