SF.net SVN: gar:[25153] csw/mgar/pkg

dmichelsen at users.sourceforge.net dmichelsen at users.sourceforge.net
Thu Jul 2 19:32:22 CEST 2015


Revision: 25153
          http://sourceforge.net/p/gar/code/25153
Author:   dmichelsen
Date:     2015-07-02 17:32:21 +0000 (Thu, 02 Jul 2015)
Log Message:
-----------
pcre2: Initial commit

Added Paths:
-----------
    csw/mgar/pkg/pcre2/
    csw/mgar/pkg/pcre2/trunk/Makefile
    csw/mgar/pkg/pcre2/trunk/checksums

Removed Paths:
-------------
    csw/mgar/pkg/pcre2/branches/pcre-gcc/
    csw/mgar/pkg/pcre2/tags/pcre-8.00,REV=2009.11.17/
    csw/mgar/pkg/pcre2/tags/pcre-8.01,REV=2010.01.20/
    csw/mgar/pkg/pcre2/trunk/Makefile
    csw/mgar/pkg/pcre2/trunk/checksums
    csw/mgar/pkg/pcre2/trunk/files/0001-Allow-norunpath-for-libtool.patch

Deleted: csw/mgar/pkg/pcre2/trunk/Makefile
===================================================================
--- csw/mgar/pkg/pcre/trunk/Makefile	2014-11-19 15:00:40 UTC (rev 24362)
+++ csw/mgar/pkg/pcre2/trunk/Makefile	2015-07-02 17:32:21 UTC (rev 25153)
@@ -1,109 +0,0 @@
-NAME = pcre
-VERSION = 8.36
-GARTYPE = v2
-
-DESCRIPTION = Perl-compatible regular expression tools
-define BLURB
-  The PCRE library is a set of functions that implement regular
-  expression pattern matching using the same syntax and semantics
-  as Perl 5. PCRE has its own native API, as well as a set of
-  wrapper functions that correspond to the POSIX regular expression API.
-endef
-
-MASTER_SITES = ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/
-DISTFILES  = $(DISTNAME).tar.bz2
-PATCHFILES = 0001-Allow-norunpath-for-libtool.patch
-
-VENDOR_URL = http://www.pcre.org
-
-PACKAGES = CSWpcre
-CATALOGNAME_CSWpcre = pcre
-SPKG_DESC_CSWpcre = Perl-compatible regular expression tools
-RUNTIME_DEP_PKGS_CSWpcre += CSWlibreadline6
-RUNTIME_DEP_PKGS_CSWpcre += CSWlibpcre1
-RUNTIME_DEP_PKGS_CSWpcre += CSWlibpcre16-0
-RUNTIME_DEP_PKGS_CSWpcre += CSWlibpcre32-0
-RUNTIME_DEP_PKGS_CSWpcre += CSWlibbz2-1-0
-RUNTIME_DEP_PKGS_CSWpcre += CSWlibz1
-RUNTIME_DEP_PKGS_CSWpcre += CSWlibpcreposix0
-
-PACKAGES += CSWlibpcre-dev
-SPKG_DESC_CSWlibpcre-dev = Development files for libpcre.so.1, libpcre16.so.0, libpcrecpp.so.0 and libpcreposix.so.0
-RUNTIME_DEP_PKGS_CSWlibpcre-dev += CSWlibpcre1
-RUNTIME_DEP_PKGS_CSWlibpcre-dev += CSWlibpcre16-0
-RUNTIME_DEP_PKGS_CSWlibpcre-dev += CSWlibpcre32-0
-RUNTIME_DEP_PKGS_CSWlibpcre-dev += CSWlibpcreposix0
-RUNTIME_DEP_PKGS_CSWlibpcre-dev += CSWlibpcrecpp0
-PKGFILES_CSWlibpcre-dev += $(PKGFILES_DEVEL)
-PKGFILES_CSWlibpcre-dev += $(docdir)/.*
-OBSOLETED_BY_CSWlibpcre-dev += CSWpcre-devel
-
-# We don't want to depend on pcre
-CHECKPKG_OVERRIDES_CSWlibpcre-dev += missing-dependency|CSWpcre
-
-PACKAGES += CSWlibpcre1
-SPKG_DESC_CSWlibpcre1 = Perl-compatible regular expression tools, libpcre.so.1
-PKGFILES_CSWlibpcre1 = $(call pkgfiles_lib,libpcre.so.1)
-
-PACKAGES += CSWlibpcre16-0
-SPKG_DESC_CSWlibpcre16-0 = Perl-compatible regular expression tools, libpcre16.so.0
-PKGFILES_CSWlibpcre16-0 = $(call pkgfiles_lib,libpcre16.so.0)
-
-PACKAGES += CSWlibpcre32-0
-SPKG_DESC_CSWlibpcre32-0 = Perl-compatible regular expression tools, libpcre32.so.0
-PKGFILES_CSWlibpcre32-0 = $(call pkgfiles_lib,libpcre32.so.0)
-
-PACKAGES += CSWlibpcrecpp0
-SPKG_DESC_CSWlibpcrecpp0 += Perl-compatible regular expression tools, libpcrecpp.so.0
-PKGFILES_CSWlibpcrecpp0 += $(call pkgfiles_lib,libpcrecpp.so.0)
-RUNTIME_DEP_PKGS_CSWlibpcrecpp0 += CSWlibpcre1
-
-PACKAGES += CSWlibpcreposix0
-SPKG_DESC_CSWlibpcreposix0 += Perl-compatible regular expression tools, libpcreposix.so.0
-PKGFILES_CSWlibpcreposix0 += $(call pkgfiles_lib,libpcreposix.so.0)
-RUNTIME_DEP_PKGS_CSWlibpcreposix0 += CSWlibpcre1
-
-REINPLACE_USRLOCAL += doc/pcre-config.1
-REINPLACE_USRLOCAL += doc/pcresample.3
-
-# Older compiler like Sun Studio 12 behave differently on -Wl,-i... and -Qoption ld -i...
-# This leads to configure detecting something works which later on does not work.
-# Newer compilers behave consistently.
-# See also http://bugs.exim.org/show_bug.cgi?id=1278
-GARCOMPILER = SOS12U3
-
-BUILD64_LIBS_ONLY = 1
-
-EXTRA_LINKER_FLAGS = -norunpath
-
-CONFIGURE_ARGS  = $(DIRPATHS)
-CONFIGURE_ARGS += --enable-unicode-properties
-CONFIGURE_ARGS += --enable-pcregrep-libz
-CONFIGURE_ARGS += --enable-pcregrep-libbz2
-CONFIGURE_ARGS += --enable-pcretest-libreadline
-CONFIGURE_ARGS += --enable-pcre16
-CONFIGURE_ARGS += --enable-pcre32
-
-# The stack on Solaris is rather limited, disable stack allocation
-CONFIGURE_ARGS += --disable-stack-for-recursion
-
-# No JIT for Sparc, may try for x86 at some later time
-#CONFIGURE_ARGS += --enable-jit
-
-# This includes some alias things that don't work with the Sun linker
-BUILD_OVERRIDE_VARS += EXTRA_LIBPCRECPP_LDFLAGS
-
-# We need more than the default 8 MB of stack space
-# TEST_SCRIPTS = custom
-
-include gar/category.mk
-
-# The testcases need 'diff -u' which Solaris 8 diff does not have,
-# but we need Solaris strip, otherwise pcregrep is broken and 200m in size...
-PATH := /usr/ccs/bin:/opt/csw/gnu:$(PATH)
-
-test-custom:
-	@echo " ==> Running make $(TEST_TARGET) in $*"
-	cd $(WORKSRC) && /usr/bin/ulimit -s 32768 && /usr/bin/env -i $(TEST_ENV) $(MAKE) $(PARALLELMFLAGS) $(foreach TTT,$(TEST_OVERRIDE_VARS),$(TTT)="$(TEST_OVERRIDE_VAR_$(TTT))") $(foreach TTT,$(TEST_OVERRIDE_DIRS),$(TTT)="$($(TTT))") -C $(OBJDIR) $(TEST_ARGS) $(TEST_TARGET)
-	@$(MAKECOOKIE)
-

Copied: csw/mgar/pkg/pcre2/trunk/Makefile (from rev 24917, csw/mgar/pkg/pcre/trunk/Makefile)
===================================================================
--- csw/mgar/pkg/pcre2/trunk/Makefile	                        (rev 0)
+++ csw/mgar/pkg/pcre2/trunk/Makefile	2015-07-02 17:32:21 UTC (rev 25153)
@@ -0,0 +1,83 @@
+NAME = pcre2
+VERSION = 10.20
+GARTYPE = v2
+
+DESCRIPTION = Perl-compatible regular expression tools
+
+MASTER_SITES = ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/
+DISTFILES  = $(DISTNAME).tar.bz2
+#PATCHFILES = 0001-Allow-norunpath-for-libtool.patch
+
+VENDOR_URL = http://www.pcre.org
+
+PACKAGES = CSWpcre2
+SPKG_DESC_CSWpcre2 = Perl-compatible regular expression tools v2
+RUNTIME_DEP_PKGS_CSWpcre2 += CSWlibreadline6
+RUNTIME_DEP_PKGS_CSWpcre2 += CSWlibpcre2-8-0
+RUNTIME_DEP_PKGS_CSWpcre2 += CSWlibpcre2-16-0
+RUNTIME_DEP_PKGS_CSWpcre2 += CSWlibpcre2-32-0
+RUNTIME_DEP_PKGS_CSWpcre2 += CSWlibbz2-1-0
+RUNTIME_DEP_PKGS_CSWpcre2 += CSWlibz1
+RUNTIME_DEP_PKGS_CSWpcre2 += CSWlibpcre2posix0
+
+PACKAGES += CSWlibpcre2-dev
+SPKG_DESC_CSWlibpcre2-dev = Development files for libpcre.so.1, libpcre16.so.0, libpcrecpp.so.0 and libpcreposix.so.0
+RUNTIME_DEP_PKGS_CSWlibpcre2-dev += CSWlibpcre2-8-0
+RUNTIME_DEP_PKGS_CSWlibpcre2-dev += CSWlibpcre2-16-0
+RUNTIME_DEP_PKGS_CSWlibpcre2-dev += CSWlibpcre2-32-0
+RUNTIME_DEP_PKGS_CSWlibpcre2-dev += CSWlibpcre2posix0
+PKGFILES_CSWlibpcre2-dev += $(PKGFILES_DEVEL)
+PKGFILES_CSWlibpcre2-dev += $(docdir)/.*
+
+# We don't want to depend on pcre2
+CHECKPKG_OVERRIDES_CSWlibpcre2-dev += missing-dependency|CSWpcre2
+
+PACKAGES += CSWlibpcre2-8-0
+SPKG_DESC_CSWlibpcre2-8-0 = Perl-compatible regular expression tools, libpcre2-8.so.0
+PKGFILES_CSWlibpcre2-8-0 = $(call pkgfiles_lib,libpcre2-8.so.0)
+
+PACKAGES += CSWlibpcre2-16-0
+SPKG_DESC_CSWlibpcre2-16-0 = Perl-compatible regular expression tools, libpcre2-16.so.0
+PKGFILES_CSWlibpcre2-16-0 = $(call pkgfiles_lib,libpcre2-16.so.0)
+
+PACKAGES += CSWlibpcre2-32-0
+SPKG_DESC_CSWlibpcre2-32-0 = Perl-compatible regular expression tools, libpcre2-32.so.0
+PKGFILES_CSWlibpcre2-32-0 = $(call pkgfiles_lib,libpcre2-32.so.0)
+
+PACKAGES += CSWlibpcre2posix0
+SPKG_DESC_CSWlibpcre2posix0 += Perl-compatible regular expression tools, libpcre2-posix.so.0
+PKGFILES_CSWlibpcre2posix0 += $(call pkgfiles_lib,libpcre2-posix.so.0)
+RUNTIME_DEP_PKGS_CSWlibpcre2posix0 += CSWlibpcre2-8-0
+
+# Older compiler like Sun Studio 12 behave differently on -Wl,-i... and -Qoption ld -i...
+# This leads to configure detecting something works which later on does not work.
+# Newer compilers behave consistently.
+# See also http://bugs.exim.org/show_bug.cgi?id=1278
+GARCOMPILER = SOS12U3
+
+BUILD64_LIBS_ONLY = 1
+
+EXTRA_LINKER_FLAGS = -norunpath
+
+CONFIGURE_ARGS += $(DIRPATHS)
+CONFIGURE_ARGS += --enable-pcre2grep-libz
+CONFIGURE_ARGS += --enable-pcre2grep-libbz2
+
+# Prefer libreadline over libedit
+CONFIGURE_ARGS += --enable-pcre2test-libreadline
+
+CONFIGURE_ARGS += --enable-pcre2-8
+CONFIGURE_ARGS += --enable-pcre2-16
+CONFIGURE_ARGS += --enable-pcre2-32
+
+# The stack on Solaris is rather limited, disable stack allocation
+CONFIGURE_ARGS += --disable-stack-for-recursion
+
+# No JIT for Sparc 64 bit
+JIT-i386-32 = --enable-jit
+JIT-i386-64 = --enable-jit
+JIT-sparc-32 = --enable-jit
+JIT-sparc-64 =
+CONFIGURE_ARGS += $(JIT-$(GARCH)-$(MEMORYMODEL))
+
+include gar/category.mk

Deleted: csw/mgar/pkg/pcre2/trunk/checksums
===================================================================
--- csw/mgar/pkg/pcre/trunk/checksums	2014-11-19 15:00:40 UTC (rev 24362)
+++ csw/mgar/pkg/pcre2/trunk/checksums	2015-07-02 17:32:21 UTC (rev 25153)
@@ -1 +0,0 @@
-b767bc9af0c20bc9c1fe403b0d41ad97  pcre-8.36.tar.bz2

Copied: csw/mgar/pkg/pcre2/trunk/checksums (from rev 24917, csw/mgar/pkg/pcre/trunk/checksums)
===================================================================
--- csw/mgar/pkg/pcre2/trunk/checksums	                        (rev 0)
+++ csw/mgar/pkg/pcre2/trunk/checksums	2015-07-02 17:32:21 UTC (rev 25153)
@@ -0,0 +1 @@
+dcd027c57ecfdc8a6c3af9d0acf5e3f7  pcre2-10.20.tar.bz2

Deleted: csw/mgar/pkg/pcre2/trunk/files/0001-Allow-norunpath-for-libtool.patch
===================================================================
--- csw/mgar/pkg/pcre/trunk/files/0001-Allow-norunpath-for-libtool.patch	2014-11-19 15:00:40 UTC (rev 24362)
+++ csw/mgar/pkg/pcre2/trunk/files/0001-Allow-norunpath-for-libtool.patch	2015-07-02 17:32:21 UTC (rev 25153)
@@ -1,25 +0,0 @@
-From af449151a800845da508097fb85bae299b2e15ab Mon Sep 17 00:00:00 2001
-From: Dagobert Michelsen <dam at opencsw.org>
-Date: Tue, 16 Aug 2011 17:12:43 +0200
-Subject: [PATCH] Allow -norunpath for libtool
-
----
- ltmain.sh |    2 +-
- 1 files changed, 1 insertions(+), 1 deletions(-)
-
-diff --git a/ltmain.sh b/ltmain.sh
-index 3061e3c..5817d54 100755
---- a/ltmain.sh
-+++ b/ltmain.sh
-@@ -5840,7 +5840,7 @@ func_mode_link ()
-       # -O*, -flto*, -fwhopr*, -fuse-linker-plugin GCC link-time optimization
-       -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \
-       -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*|-tp=*|--sysroot=*| \
--      -O*|-flto*|-fwhopr*|-fuse-linker-plugin)
-+      -O*|-flto*|-fwhopr*|-fuse-linker-plugin|-norunpath)
-         func_quote_for_eval "$arg"
- 	arg="$func_quote_for_eval_result"
-         func_append compile_command " $arg"
--- 
-1.7.6
-

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