Ignore:
Timestamp:
Apr 6, 2007, 9:00:25 PM (13 years ago)
Author:
jberry@…
Message:

Add xar code into macports base build.

xar will be built and installed only if xar is not present in the base system, as it is rumored to be on Leopard.
This means that xar will be build and installed into /opt/local on Tiger, and that somebody who has already installed the xar port, or who decides to install the xar port on such a system, might run into a conflict. The number of such people is probably very low, according to bbraun.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/base/aclocal.m4

    r19376 r23687  
    492492                AC_CONFIG_SUBDIRS([src/programs/mtree])
    493493                MTREE='$(TOPSRCDIR)/src/programs/mtree/mtree'
    494 #               MTREE='${prefix}/bin/mtree'
    495494                REPLACEMENT_PROGS="$REPLACEMENT_PROGS mtree"
    496495        fi
    497496
    498497        AC_SUBST(MTREE)
     498])
     499
     500# OD_PROG_XAR
     501#---------------------------------------
     502AC_DEFUN([OD_PROG_XAR],[
     503
     504        AC_PATH_PROG([XAR], [xar], ,  [/usr/bin:/usr/sbin:/bin:/sbin])
     505
     506        if test "x$XAR" = "x" ; then
     507                AC_CONFIG_SUBDIRS([src/programs/xar])
     508                XAR='$(TOPSRCDIR)/src/programs/xar/xar'
     509                REPLACEMENT_PROGS="$REPLACEMENT_PROGS xar"
     510        fi
     511
     512        AC_SUBST(XAR)
    499513])
    500514
Note: See TracChangeset for help on using the changeset viewer.