Print this page
    
Other packages up to gcc51 runtime
    
      
        | Split | 
	Close | 
      
      | Expand all | 
      | Collapse all | 
    
    
          --- old/build/pcre/build.sh
          +++ new/build/pcre/build.sh
   1    1  #!/usr/bin/bash
   2    2  #
   3    3  # CDDL HEADER START
   4    4  #
   5    5  # The contents of this file are subject to the terms of the
   6    6  # Common Development and Distribution License, Version 1.0 only
   7    7  # (the "License").  You may not use this file except in compliance
   8    8  # with the License.
   9    9  #
  10   10  # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
  11   11  # or http://www.opensolaris.org/os/licensing.
  12   12  # See the License for the specific language governing permissions
  13   13  # and limitations under the License.
  14   14  #
  15   15  # When distributing Covered Code, include this CDDL HEADER in each
  16   16  # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  17   17  # If applicable, add the following below this CDDL HEADER, with the
  18   18  # fields enclosed by brackets "[]" replaced with your own identifying
  19   19  # information: Portions Copyright [yyyy] [name of copyright owner]
  20   20  #
  21   21  # CDDL HEADER END
  22   22  #
  23   23  #
  24   24  # Copyright 2011-2012 OmniTI Computer Consulting, Inc.  All rights reserved.
  25   25  # Use is subject to license terms.
  26   26  #
  
    | 
      ↓ open down ↓ | 
    26 lines elided | 
    
      ↑ open up ↑ | 
  
  27   27  # Load support functions
  28   28  . ../../lib/functions.sh
  29   29  
  30   30  PROG=pcre
  31   31  VER=8.35
  32   32  VERHUMAN=$VER
  33   33  PKG=library/pcre
  34   34  SUMMARY="Perl-Compatible Regular Expressions"
  35   35  DESC="PCRE - Perl-Compatible Regular Expressions"
  36   36  
  37      -DEPENDS_IPS="library/readline compress/bzip2 library/zlib system/library/g++-4-runtime
  38      -        system/library/gcc-4-runtime system/library system/library/math"
       37 +DEPENDS_IPS="library/readline compress/bzip2 library/zlib system/library/g++-5-runtime
       38 +        system/library/gcc-5-runtime system/library system/library/math"
  39   39  
  40   40  LIBTOOL_NOSTDLIB=libtool
  41   41  LIBTOOL_NOSTDLIB_EXTRAS=-lc
  42   42  
  43   43  CONFIGURE_OPTS="$CONFIGURE_OPTS
  44   44          --includedir=/usr/include/pcre
  45   45          --localstatedir=/var
  46   46          --disable-static
  47   47          --enable-cpp
  48   48          --enable-rebuild-chartables
  49   49          --enable-utf8
  50   50          --enable-unicode-properties
  51   51          --enable-newline-is-any
  52   52          --disable-stack-for-recursion
  53   53          --enable-pcregrep-libz
  54   54          --enable-pcregrep-libbz2
  55   55          --with-posix-malloc-threshold=20
  56   56          --with-link-size=4
  57   57          --with-match-limit=10000000
  58   58          --with-pic
  59   59  "
  60   60  
  61   61  make_install64() {
  62   62      # the 32bit version installed these and the 64bit version will fail
  63   63      # reinstalling them... clear them out and let 64bit do its business.
  64   64      rm -rf $DESTDIR/usr/share/man
  65   65      make_install
  66   66  }
  67   67  
  68   68  init
  69   69  download_source $PROG $PROG $VER
  70   70  patch_source
  71   71  prep_build
  72   72  build
  73   73  make_isa_stub
  74   74  make_package
  75   75  clean_up
  76   76  
  77   77  # Vim hints
  78   78  # vim:ts=4:sw=4:et:
  
    | 
      ↓ open down ↓ | 
    30 lines elided | 
    
      ↑ open up ↑ | 
  
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX