Print this page
    
Some packages need to specify -std=gnu89 to compile, and gcc51 defaults to
gnu11 now.
Also, updated mozilla-nss-nspr to 3.19 and 4.10.8, respectively.
    
      
        | Split | 
	Close | 
      
      | Expand all | 
      | Collapse all | 
    
    
          --- old/build/pkg-config/build.sh
          +++ new/build/pkg-config/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  #
  25   25  # Copyright (c) 2014 by Delphix. All rights reserved.
  26   26  #
  27   27  
  28   28  # Load support functions
  29   29  . ../../lib/functions.sh
  30   30  
  31   31  PROG=pkg-config
  32   32  VER=0.28
  
    | 
      ↓ open down ↓ | 
    32 lines elided | 
    
      ↑ open up ↑ | 
  
  33   33  VERHUMAN=$VER
  34   34  PKG=developer/pkg-config
  35   35  SUMMARY="A tool for generating compiler command line options"
  36   36  DESC="pkg-config is a helper tool used when compiling applications and libraries that helps you insert the correct compiler options on the command line, rather than hard-coding values on where to find libraries."
  37   37  
  38   38  BUILD_DEPENDS_IPS=
  39   39  RUN_DEPENDS_IPS=
  40   40  
  41   41  CONFIGURE_OPTS="--with-internal-glib"
  42   42  
       43 +# Use old gcc4 standards level for this.
       44 +CFLAGS="$CFLAGS -std=gnu89"
       45 +
  43   46  init
  44   47  download_source $PROG $PROG $VER
  45   48  prep_build
  46   49  build
  47   50  make_isa_stub
  48   51  make_package
  49   52  clean_up
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX