SF.net SVN: gar:[22705] csw/mgar/pkg/xerces-c/branches/xerces-c-2.7.0
dmichelsen at users.sourceforge.net
dmichelsen at users.sourceforge.net
Tue Dec 17 14:11:31 CET 2013
Revision: 22705
http://sourceforge.net/p/gar/code/22705
Author: dmichelsen
Date: 2013-12-17 13:11:30 +0000 (Tue, 17 Dec 2013)
Log Message:
-----------
xerces-c/branches/xerces-c-2.7.0: Make special packages for 2.7.0 needed for XML::Xerces
Modified Paths:
--------------
csw/mgar/pkg/xerces-c/branches/xerces-c-2.7.0/Makefile
Removed Paths:
-------------
csw/mgar/pkg/xerces-c/branches/xerces-c-2.7.0/files/0001-Do-not-strip-norunpath.patch
Modified: csw/mgar/pkg/xerces-c/branches/xerces-c-2.7.0/Makefile
===================================================================
--- csw/mgar/pkg/xerces-c/branches/xerces-c-2.7.0/Makefile 2013-12-17 00:08:53 UTC (rev 22704)
+++ csw/mgar/pkg/xerces-c/branches/xerces-c-2.7.0/Makefile 2013-12-17 13:11:30 UTC (rev 22705)
@@ -16,50 +16,44 @@
DISTNAME = $(NAME)-src_$(VERSION)
DISTFILES += $(DISTNAME).tar.gz
-# PATCHFILES += 0001-Do-not-strip-norunpath.patch
-
VENDOR_URL = http://xerces.apache.org/xerces-c/
LICENSE = LICENSE
-PACKAGES += CSWlibxerces-c3-1
-SPKG_DESC_CSWlibxerces-c3-1 = Xerces XML parser for C++ providing libxerces-c-3.1.so
-PKGFILES_CSWlibxerces-c3-1 = $(call pkgfiles_lib,libxerces-c-3.1.so)
-RUNTIME_DEP_PKGS_CSWlibxerces-c3-1 += CSWlibcurl4
-RUNTIME_DEP_PKGS_CSWlibxerces-c3-1 += CSWlibidn11
-RUNTIME_DEP_PKGS_CSWlibxerces-c3-1 += CSWlibz1
-RUNTIME_DEP_PKGS_CSWlibxerces-c3-1 += CSWlibssl1-0-0
-RUNTIME_DEP_PKGS_CSWlibxerces-c3-1 += CSWlibicudata48
-RUNTIME_DEP_PKGS_CSWlibxerces-c3-1 += CSWlibicuuc48
-RUNTIME_DEP_PKGS_CSWlibxerces-c3-1 += CSWlibicui18n48
+PACKAGES += CSWlibxerces-c27
+SPKG_DESC_CSWlibxerces-c27 = Xerces XML parser for C++ providing libxerces-c.so.27
+PKGFILES_CSWlibxerces-c27 = $(call pkgfiles_lib,libxerces-c.so.27)
-# The version number is in the base and not appended to .so as usual
-CHECKPKG_OVERRIDES_CSWlibxerces-c3-1 += soname-equals-filename
+PACKAGES += CSWlibxerces-depdom27
+SPKG_DESC_CSWlibxerces-depdom27 = Xerces XML parser for C++ providing libxerces-depdom.so.27
+PKGFILES_CSWlibxerces-depdom27 = $(call pkgfiles_lib,libxerces-depdom.so.27)
-PACKAGES += CSWlibxerces-c-dev
-SPKG_DESC_CSWlibxerces-c-dev = Development files for libxerces-c-3.1.so
+PACKAGES += CSWlibxerces-c27-dev
+SPKG_DESC_CSWlibxerces-c27-dev = Development files for libxerces-c.so.27
# PKGFILES is catchall
-RUNTIME_DEP_PKGS_CSWlibxerces-c-dev += CSWlibxerces-c3-1
+RUNTIME_DEP_PKGS_CSWlibxerces-c27-dev += CSWlibxerces-c27
+CHECKPKG_OVERRIDES_CSWlibxerces-c27-dev += surplus-dependency|CSWlibxerces-c27
+RUNTIME_DEP_PKGS_CSWlibxerces-c27-dev += CSWlibxerces-depdom27
+CHECKPKG_OVERRIDES_CSWlibxerces-c27-dev += surplus-dependency|CSWlibxerces-depdom27
-PACKAGES += CSWxerces-c
-CATALOGNAME_CSWxerces-c = xerces_c
-SPKG_DESC_CSWxerces-c = Utility programs from the Xerces XML parser
-PKGFILES_CSWxerces-c = $(bindir)/.*
-RUNTIME_DEP_PKGS_CSWxerces-c += CSWlibxerces-c3-1
-RUNTIME_DEP_PKGS_CSWxerces-c += CSWlibssl1-0-0
-RUNTIME_DEP_PKGS_CSWxerces-c += CSWlibicudata48
-RUNTIME_DEP_PKGS_CSWxerces-c += CSWlibz1
-RUNTIME_DEP_PKGS_CSWxerces-c += CSWlibcurl4
-RUNTIME_DEP_PKGS_CSWxerces-c += CSWlibicuuc48
-RUNTIME_DEP_PKGS_CSWxerces-c += CSWlibidn11
-RUNTIME_DEP_PKGS_CSWxerces-c += CSWlibicui18n48
+WORKSRC = $(WORKDIR)/$(DISTNAME)/src/xercesc
-BUILD64 = 1
-ISAEXEC = 1
+EXTRA_LINKER_FLAGS += -norunpath
-WORKSRC = $(WORKDIR)/$(DISTNAME)/src/xercesc
+EXTRA_BUILD_EXPORTS += XERCESCROOT
+BUILD_ENV_XERCESCROOT = $(abspath $(WORKDIR)/$(DISTNAME))
-EXTRA_CONFIGURE_EXPORTS = icu_config
-EXTRA_CONFIGURE_ENV_icu_config = $(bindir)/icu-config
+EXTRA_INSTALL_EXPORTS += XERCESCROOT
+INSTALL_ENV_XERCESCROOT = $(abspath $(WORKDIR)/$(DISTNAME))
+# Arguments are not passed in the default Makefile
+EXTRA_INSTALL_EXPORTS += MAKE
+INSTALL_ENV_MAKE = gmake DESTDIR=$(DESTDIR)
+
+# There is no testsuite
+TEST_SCRIPTS =
+
+EXTRA_PAX_ARGS += -s ',/include/,/include/xercesc-2.7.0/,'
+EXTRA_PAX_ARGS += -s ',/lib/(.*\.so)$$,/lib/xercesc-2.7.0/$$1,'
+
include gar/category.mk
Deleted: csw/mgar/pkg/xerces-c/branches/xerces-c-2.7.0/files/0001-Do-not-strip-norunpath.patch
===================================================================
--- csw/mgar/pkg/xerces-c/branches/xerces-c-2.7.0/files/0001-Do-not-strip-norunpath.patch 2013-12-17 00:08:53 UTC (rev 22704)
+++ csw/mgar/pkg/xerces-c/branches/xerces-c-2.7.0/files/0001-Do-not-strip-norunpath.patch 2013-12-17 13:11:30 UTC (rev 22705)
@@ -1,25 +0,0 @@
-From 0cb78ef329cacbf4f4954a9d792b01b53ac63798 Mon Sep 17 00:00:00 2001
-From: Dagobert Michelsen <dam at opencsw.org>
-Date: Wed, 12 Jan 2011 14:24:04 +0100
-Subject: [PATCH] Do not strip -norunpath
-
----
- config/ltmain.sh | 2 +-
- 1 files changed, 1 insertions(+), 1 deletions(-)
-
-diff --git a/config/ltmain.sh b/config/ltmain.sh
-index 3506ead..7e0670f 100755
---- a/config/ltmain.sh
-+++ b/config/ltmain.sh
-@@ -4765,7 +4765,7 @@ func_mode_link ()
- # -p, -pg, --coverage, -fprofile-* pass through profiling flag for GCC
- # @file GCC response files
- -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \
-- -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*)
-+ -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*|-norunpath)
- func_quote_for_eval "$arg"
- arg="$func_quote_for_eval_result"
- func_append compile_command " $arg"
---
-1.7.3.2
-
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