Print this page
4863 illumos-gate can't be built with fresh perl versions

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/perl/Makefile.targ
          +++ new/usr/src/cmd/perl/Makefile.targ
↓ open down ↓ 2 lines elided ↑ open up ↑
   3    3  # Common Development and Distribution License ("CDDL"), version 1.0.
   4    4  # You may only use this file in accordance with the terms of version
   5    5  # 1.0 of the CDDL.
   6    6  #
   7    7  # A full copy of the text of the CDDL should have accompanied this
   8    8  # source.  A copy of the CDDL is also available via the Internet at
   9    9  # http://www.illumos.org/license/CDDL.
  10   10  #
  11   11  #
  12   12  # Copyright (c) 2014 Racktop Systems.
  13      -# Copyright 2014, OmniTI Computer Consulting, Inc. All rights reserved.
       13 +# Copyright 2015, OmniTI Computer Consulting, Inc. All rights reserved.
  14   14  #
  15   15  
  16   16  # Link against libc as perl solaris specs
  17   17  $(PERLEXT):= LDLIBS += -lc
  18   18  
  19   19  # Allow for undefined symbols satisfied by perl
  20   20  $(PERLEXT):= ZDEFS =
  21   21  
  22   22  $(ROOTPERLEXT) := FILEMODE = 0555
  23   23  $(ROOTPERLMOD) := FILEMODE = 0444
  24   24  
  25   25  # CFLAGS for perl, specifically.
  26      -PCFLAGS= -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DPERL_USE_SAFE_PUTENV \
  27      -        -D_TS_ERRNO
       26 +PCFLAGS= -DPERL_EUPXS_ALWAYS_EXPORT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 \
       27 +        -DPERL_USE_SAFE_PUTENV -D_TS_ERRNO
  28   28  
  29   29  $(MACH):
  30   30          $(INS.dir)
  31   31  
  32   32  $(PERLEXT): $(MACH)/$(MODULE).o
  33   33          $(BUILD.SO) $(MACH)/$(MODULE).o
  34   34  
  35   35  $(MACH)/$(MODULE).o: $(MACH)/$(MODULE).c
  36   36          $(COMPILE.c) $(PCFLAGS) $(C_PICFLAGS) -I$(PERLINCDIR) $< -o $@
  37   37  
↓ open down ↓ 14 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX