[60031] trunk/dports/databases/db46/Portfile
blb at macports.org
blb at macports.org
Thu Oct 29 13:36:28 PDT 2009
Revision: 60031
http://trac.macports.org/changeset/60031
Author: blb at macports.org
Date: 2009-10-29 13:36:27 -0700 (Thu, 29 Oct 2009)
Log Message:
-----------
databases/db46 - restrict checking for incompatible bdb install to the header file which breaks building the port; ticket #22291
Modified Paths:
--------------
trunk/dports/databases/db46/Portfile
Modified: trunk/dports/databases/db46/Portfile
===================================================================
--- trunk/dports/databases/db46/Portfile 2009-10-29 19:53:57 UTC (rev 60030)
+++ trunk/dports/databases/db46/Portfile 2009-10-29 20:36:27 UTC (rev 60031)
@@ -58,9 +58,9 @@
docdir=${destroot}${prefix}/share/doc/db-${version}/
pre-extract {
- if {[file exists "/usr/local"]} {
- ui_error "Move /usr/local out of the way then make this port."
- return -code error "/usr/local is in the way"
+ if {[file exists "/usr/local/include/db.h"]} {
+ ui_error "You have a conflicting install of Berkeley DB in /usr/local, please move it aside before building ${name}"
+ return -code error "Berkeley DB in /usr/local is in the way"
}
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20091029/4ce2ea32/attachment.html>
More information about the macports-changes
mailing list