Print this page
4863 illumos-gate can't be built with fresh perl versions
        
*** 8,18 ****
  # source.  A copy of the CDDL is also available via the Internet at
  # http://www.illumos.org/license/CDDL.
  #
  #
  # Copyright (c) 2014 Racktop Systems.
! # Copyright 2014, OmniTI Computer Consulting, Inc. All rights reserved.
  #
  
  # Link against libc as perl solaris specs
  $(PERLEXT):= LDLIBS += -lc
  
--- 8,18 ----
  # source.  A copy of the CDDL is also available via the Internet at
  # http://www.illumos.org/license/CDDL.
  #
  #
  # Copyright (c) 2014 Racktop Systems.
! # Copyright 2015, OmniTI Computer Consulting, Inc. All rights reserved.
  #
  
  # Link against libc as perl solaris specs
  $(PERLEXT):= LDLIBS += -lc
  
*** 21,32 ****
  
  $(ROOTPERLEXT) := FILEMODE = 0555
  $(ROOTPERLMOD) := FILEMODE = 0444
  
  # CFLAGS for perl, specifically.
! PCFLAGS= -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DPERL_USE_SAFE_PUTENV \
!         -D_TS_ERRNO
  
  $(MACH):
          $(INS.dir)
  
  $(PERLEXT): $(MACH)/$(MODULE).o
--- 21,32 ----
  
  $(ROOTPERLEXT) := FILEMODE = 0555
  $(ROOTPERLMOD) := FILEMODE = 0444
  
  # CFLAGS for perl, specifically.
! PCFLAGS= -DPERL_EUPXS_ALWAYS_EXPORT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 \
!         -DPERL_USE_SAFE_PUTENV -D_TS_ERRNO
  
  $(MACH):
          $(INS.dir)
  
  $(PERLEXT): $(MACH)/$(MODULE).o