Print this page
3900 illumos will not build against gcc compiled perl
4723 Remove unused perl extensions
Reviewed by: Keith Wesolowski <keith.wesolowski@joyent.com>
Reviewed by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>


   5 # Common Development and Distribution License (the "License").
   6 # You may not use this file except in compliance with the License.
   7 #
   8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
   9 # or http://www.opensolaris.org/os/licensing.
  10 # See the License for the specific language governing permissions
  11 # and limitations under the License.
  12 #
  13 # When distributing Covered Code, include this CDDL HEADER in each
  14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  15 # If applicable, add the following below this CDDL HEADER, with the
  16 # fields enclosed by brackets "[]" replaced with your own identifying
  17 # information: Portions Copyright [yyyy] [name of copyright owner]
  18 #
  19 # CDDL HEADER END
  20 #
  21 
  22 #
  23 # Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
  24 # Use is subject to license terms.

  25 #
  26 
  27 #
  28 # Lgrp.pm provides procedural and object-oriented interface to the Solaris
  29 # liblgrp(3LIB) library.
  30 #
  31 
  32 
  33 require 5.8.4;
  34 use strict;
  35 use warnings;
  36 use Carp;
  37 
  38 package Sun::Solaris::Lgrp;
  39 
  40 our $VERSION = '1.1';
  41 use XSLoader;
  42 XSLoader::load(__PACKAGE__, $VERSION);
  43 
  44 require Exporter;
  45 
  46 our @ISA = qw(Exporter);
  47 
  48 our (@EXPORT_OK, %EXPORT_TAGS);
  49 
  50 # Things to export
  51 my @lgrp_constants = qw(LGRP_AFF_NONE LGRP_AFF_STRONG LGRP_AFF_WEAK
  52                         LGRP_CONTENT_DIRECT LGRP_CONTENT_HIERARCHY
  53                         LGRP_MEM_SZ_FREE LGRP_MEM_SZ_INSTALLED LGRP_VER_CURRENT




   5 # Common Development and Distribution License (the "License").
   6 # You may not use this file except in compliance with the License.
   7 #
   8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
   9 # or http://www.opensolaris.org/os/licensing.
  10 # See the License for the specific language governing permissions
  11 # and limitations under the License.
  12 #
  13 # When distributing Covered Code, include this CDDL HEADER in each
  14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  15 # If applicable, add the following below this CDDL HEADER, with the
  16 # fields enclosed by brackets "[]" replaced with your own identifying
  17 # information: Portions Copyright [yyyy] [name of copyright owner]
  18 #
  19 # CDDL HEADER END
  20 #
  21 
  22 #
  23 # Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
  24 # Use is subject to license terms.
  25 # Copyright (c) 2014 Racktop Systems.
  26 #
  27 
  28 #
  29 # Lgrp.pm provides procedural and object-oriented interface to the Solaris
  30 # liblgrp(3LIB) library.
  31 #
  32 
  33 
  34 require 5.0010;
  35 use strict;
  36 use warnings;
  37 use Carp;
  38 
  39 package Sun::Solaris::Lgrp;
  40 
  41 our $VERSION = '1.1';
  42 use XSLoader;
  43 XSLoader::load(__PACKAGE__, $VERSION);
  44 
  45 require Exporter;
  46 
  47 our @ISA = qw(Exporter);
  48 
  49 our (@EXPORT_OK, %EXPORT_TAGS);
  50 
  51 # Things to export
  52 my @lgrp_constants = qw(LGRP_AFF_NONE LGRP_AFF_STRONG LGRP_AFF_WEAK
  53                         LGRP_CONTENT_DIRECT LGRP_CONTENT_HIERARCHY
  54                         LGRP_MEM_SZ_FREE LGRP_MEM_SZ_INSTALLED LGRP_VER_CURRENT