You've already forked macports-base
mirror of
https://github.com/macports/macports-base.git
synced 2026-07-12 18:18:43 -07:00
also complain about prefix=/usr
git-svn-id: https://svn.macports.org/repository/macports/trunk/base@80137 d073be05-634f-4543-b044-5fe20cf6d1d6
This commit is contained in:
@@ -7645,8 +7645,8 @@ else
|
||||
with_unsupported_prefix=no
|
||||
fi
|
||||
|
||||
if test x$prefix = x/usr/local -a x$with_unsupported_prefix != xyes; then
|
||||
as_fn_error $? "Installing MacPorts into /usr/local is not supported. If \
|
||||
if test x$prefix = x/usr/local -o x$prefix = x/usr && test x$with_unsupported_prefix != xyes; then
|
||||
as_fn_error $? "Installing MacPorts into $prefix is not supported. If \
|
||||
you understand this and wish to do so anyway, pass --with-unsupported-prefix \
|
||||
to configure." "$LINENO" 5
|
||||
fi
|
||||
|
||||
+2
-2
@@ -176,8 +176,8 @@ AC_ARG_WITH(
|
||||
[Acknowledge that you accept the consequences of using an unsupported prefix.]),
|
||||
[with_unsupported_prefix=$withval],
|
||||
[with_unsupported_prefix=no])
|
||||
if test x$prefix = x/usr/local -a x$with_unsupported_prefix != xyes; then
|
||||
AC_MSG_ERROR([Installing MacPorts into /usr/local is not supported. If \
|
||||
if test x$prefix = x/usr/local -o x$prefix = x/usr && test x$with_unsupported_prefix != xyes; then
|
||||
AC_MSG_ERROR([Installing MacPorts into $prefix is not supported. If \
|
||||
you understand this and wish to do so anyway, pass --with-unsupported-prefix \
|
||||
to configure.])
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user