Print this page
3900 illumos will not build against gcc compiled perl

Split Close
Expand all
Collapse all
          --- old/usr/src/man/man3perl/Makefile
          +++ new/usr/src/man/man3perl/Makefile
↓ open down ↓ 4 lines elided ↑ open up ↑
   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
   9    9  # at http://www.illumos.org/license/CDDL.
  10   10  #
  11   11  
  12   12  #
  13   13  # Copyright 2011, Richard Lowe
  14   14  # Copyright 2013 Nexenta Systems, Inc.  All rights reserved.
       15 +# Copyright (c) 2014 Racktop Systems.
  15   16  #
  16   17  
  17   18  include         $(SRC)/Makefile.master
  18   19  
  19   20  MANSECT=        3perl
  20   21  
  21      -MANFILES=       Exacct.3perl                    \
  22      -                Exacct\:\:Catalog.3perl         \
  23      -                Exacct\:\:File.3perl            \
  24      -                Exacct\:\:Object.3perl          \
  25      -                Exacct\:\:Object\:\:Group.3perl \
  26      -                Exacct\:\:Object\:\:Item.3perl  \
  27      -                Kstat.3perl                     \
       22 +MANFILES=       Kstat.3perl                     \
  28   23                  Lgrp.3perl                      \
  29      -                Privilege.3perl                 \
  30   24                  Project.3perl                   \
  31      -                Task.3perl                      \
  32      -                Ucred.3perl
       25 +                Task.3perl
  33   26  
  34   27  .KEEP_STATE:
  35   28  
  36   29  include         $(SRC)/man/Makefile.man
  37   30  
  38      -#
  39      -# When KEEP_STATE is in effect and a target has a colon in the name (like the
  40      -# Exacct::* pages above, dmake will write them to the state file unescaped,
  41      -# creating a file which then cannot be reparsed, breaking any build other than
  42      -# the first in this directory:
  43      -#
  44      -# See CR 6987108 make will write un-escaped :'s to .make.state, break itself
  45      -#
  46      -# As a workaround, install the files manually in a FRC target.
  47      -CMD= $(INS) -s -m $(FILEMODE) -f $(ROOTMAN)/man$(MANSECT)
  48      -install: FRC
  49      -        @for file in $(MANFILES); do                                    \
  50      -                if [[ $$file -nt $(ROOTMAN)/man$(MANSECT)/$$file ]]; then \
  51      -                        $(ECHO) $(CMD) $$file;                          \
  52      -                        $(RM) $(ROOTMAN)/man$(MANSECT)/$$file;          \
  53      -                        $(CMD) $$file;                                  \
  54      -                fi                                                      \
  55      -        done;
       31 +install: $(ROOTMANFILES) $(ROOTMANLINKS)
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX