[csw-devel] SF.net SVN: gar:[21747] csw/mgar/pkg/libxml2/trunk

dmichelsen at users.sourceforge.net dmichelsen at users.sourceforge.net
Fri Aug 16 12:19:46 CEST 2013


Revision: 21747
          http://gar.svn.sourceforge.net/gar/?rev=21747&view=rev
Author:   dmichelsen
Date:     2013-08-16 10:19:45 +0000 (Fri, 16 Aug 2013)
Log Message:
-----------
libxml2/trunk: Add mapfile to allow sudo compilation

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

Added Paths:
-----------
    csw/mgar/pkg/libxml2/trunk/files/map.sudo

Modified: csw/mgar/pkg/libxml2/trunk/Makefile
===================================================================
--- csw/mgar/pkg/libxml2/trunk/Makefile	2013-08-16 09:35:38 UTC (rev 21746)
+++ csw/mgar/pkg/libxml2/trunk/Makefile	2013-08-16 10:19:45 UTC (rev 21747)
@@ -13,6 +13,8 @@
 
 MASTER_SITES = ftp://xmlsoft.org/libxml2/
 DISTFILES = $(DISTNAME).tar.gz
+DISTFILES += map.sudo
+
 # PATCHFILES = 0001-Forcefully-disable-the-symbol-versioning.patch
 # see Bug: https://www.opencsw.org/mantis/view.php?id=5093
 PATCHFILES = 0002-fix-PyCapsulate-for-python-version-less-2.7.patch
@@ -20,6 +22,9 @@
 sysconfdir = /etc/opt/csw
 localstatedir = /var/opt/csw
 
+# Force custom mapfile because sudo uses one and sudo uses libxml2
+LINKER_MAPS = -M "$(abspath $(WORKDIR)/map.sudo)"
+
 EXTRA_CPPFLAGS  = -DXML_XML_DEFAULT_CATALOG=\\\"$(sysconfdir)/xml/catalog\\\"
 EXTRA_CPPFLAGS += -DXML_SGML_DEFAULT_CATALOG=\\\"$(sysconfdir)/sgml/catalog\\\"
 
@@ -57,7 +62,6 @@
 OBSOLETED_BY_CSWpy-libxml2 = CSWpylibxml2
 SPKG_DESC_CSWpy-libxml2  = XML Parser Library Python Bindings
 RUNTIME_DEP_PKGS_CSWpy-libxml2  = CSWlibpython2-6-1-0
-RUNTIME_DEP_PKGS_CSWpy-libxml2 += CSWpython
 RUNTIME_DEP_PKGS_CSWpy-libxml2 += CSWlibxml2-2
 PKGFILES_CSWpy-libxml2  = $(libdir)/python/.*
 PKGFILES_CSWpy-libxml2 += $(docdir)/pylibxml2/.*

Copied: csw/mgar/pkg/libxml2/trunk/files/map.sudo (from rev 21587, csw/mgar/pkg/sudo/trunk/files/map.sudo)
===================================================================
--- csw/mgar/pkg/libxml2/trunk/files/map.sudo	                        (rev 0)
+++ csw/mgar/pkg/libxml2/trunk/files/map.sudo	2013-08-16 10:19:45 UTC (rev 21747)
@@ -0,0 +1,7 @@
+# Solaris 10 mapfile with libc Version 1.22.2 which is Update?? Kernel Version
+#   http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/lib/libc/port/mapfile-vers#301
+libc.so - SUNW_1.22.2 SUNWprivate_1.1 $ADDVERS=SUNW_1.22.2;
+#  http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/lib/libresolv2/common/mapfile-vers
+libresolv.so - SUNW_2.2 SUNWprivate_2.1 $ADDVERS=SUNW_2.2;
+# http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/lib/libnsl/common/mapfile-vers
+libnsl.so - SUNW_1.9 SUNWprivate_1.5 $ADDVERS=SUNW_1.9;

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