Changeset 53728


Ignore:
Timestamp:
Jul 13, 2009, 1:56:37 AM (10 years ago)
Author:
blb@…
Message:

configure - error out when trying to use /usr/local as prefix; ticket #18602

Location:
trunk/base
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/base/configure

    r53374 r53728  
    77987798# Check for paths
    77997799
     7800if test x$prefix = x/usr/local; then
     7801    { { $as_echo "$as_me:$LINENO: error: Installing MacPorts into /usr/local is not supported" >&5
     7802$as_echo "$as_me: error: Installing MacPorts into /usr/local is not supported" >&2;}
     7803   { (exit 1); exit 1; }; }
     7804fi
    78007805
    78017806
  • trunk/base/configure.ac

    r53260 r53728  
    166166# Check for paths
    167167AC_PREFIX_DEFAULT(/opt/local)
     168if test x$prefix = x/usr/local; then
     169    AC_MSG_ERROR([Installing MacPorts into /usr/local is not supported])
     170fi
    168171MP_PATH_PORTSDIR([$PORTS_DIR_DEFAULT])
    169172MP_PATH_MPCONFIGDIR
Note: See TracChangeset for help on using the changeset viewer.