Ticket #2975: fix_configure.patch

File fix_configure.patch, 710 bytes (added by danielluke (Daniel J. Luke), 20 years ago)

Force a limited $PATH for tar/gnutar search

  • aclocal.m4

    RCS file: /Volumes/src/cvs/od/proj/darwinports/base/aclocal.m4,v
    retrieving revision 1.29
    diff -u -r1.29 aclocal.m4
     
    417417
    418418dnl This macro tests for tar support of --no-same-owner
    419419AC_DEFUN([OD_TAR_NO_SAME_OWNER],[
    420         AC_CHECK_PROG(TAR_CMD, [gnutar], [gnutar], [tar])
     420        AC_CHECK_PROG(TAR_CMD, [gnutar], [gnutar], [tar], [/usr/bin:/usr/sbin:/bin:/sbin])
    421421        AC_MSG_CHECKING([for tar --no-same-owner support])
    422422        [no_same_owner_support=`$TAR_CMD --help 2>&1 | grep no-same-owner`]
    423423        if test -z "$no_same_owner_support" ; then