[53728] trunk/base
blb at macports.org
blb at macports.org
Sun Jul 12 18:56:38 PDT 2009
Revision: 53728
http://trac.macports.org/changeset/53728
Author: blb at macports.org
Date: 2009-07-12 18:56:37 -0700 (Sun, 12 Jul 2009)
Log Message:
-----------
configure - error out when trying to use /usr/local as prefix; ticket #18602
Modified Paths:
--------------
trunk/base/configure
trunk/base/configure.ac
Modified: trunk/base/configure
===================================================================
--- trunk/base/configure 2009-07-13 00:53:04 UTC (rev 53727)
+++ trunk/base/configure 2009-07-13 01:56:37 UTC (rev 53728)
@@ -7797,6 +7797,11 @@
# Check for paths
+if test x$prefix = x/usr/local; then
+ { { $as_echo "$as_me:$LINENO: error: Installing MacPorts into /usr/local is not supported" >&5
+$as_echo "$as_me: error: Installing MacPorts into /usr/local is not supported" >&2;}
+ { (exit 1); exit 1; }; }
+fi
Modified: trunk/base/configure.ac
===================================================================
--- trunk/base/configure.ac 2009-07-13 00:53:04 UTC (rev 53727)
+++ trunk/base/configure.ac 2009-07-13 01:56:37 UTC (rev 53728)
@@ -165,6 +165,9 @@
# Check for paths
AC_PREFIX_DEFAULT(/opt/local)
+if test x$prefix = x/usr/local; then
+ AC_MSG_ERROR([Installing MacPorts into /usr/local is not supported])
+fi
MP_PATH_PORTSDIR([$PORTS_DIR_DEFAULT])
MP_PATH_MPCONFIGDIR
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090712/e834b586/attachment.html>
More information about the macports-changes
mailing list