[MacPorts] #22291: db46 4.6.21_6 Extracting - failed
MacPorts
noreply at macports.org
Thu Oct 29 04:05:07 PDT 2009
#22291: db46 4.6.21_6 Extracting - failed
---------------------------+------------------------------------------------
Reporter: senz@… | Owner: macports-tickets@…
Type: update | Status: closed
Priority: Normal | Milestone:
Component: ports | Version: 1.8.1
Resolution: wontfix | Keywords:
Port: db46 |
---------------------------+------------------------------------------------
Comment(by andreas@…):
It seems that some users have stuff in /usr/local that prevents this
package from building. It is not an option to move /usr/local around
though IMO. I removed the check in the portfile, and the package builds
fine on my machine (10.6).
Go to
/opt/local/var/macports/sources/rsync.macports.org/release/ports/databases/db46/,
open the file "Portfile" in your editor of choice and remove the section
saying
{{{
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"
}
}
}}}
or apply this patch to the file:
{{{
--- Portfile.old 2009-10-29 05:12:32.000000000 +0100
+++ Portfile 2009-10-29 11:46:47.000000000 +0100
@@ -57,12 +57,6 @@
destroot.destdir prefix=${destroot}${prefix} \
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"
- }
-}
post-destroot {
foreach bin { archive hotbackup dump printlog upgrade checkpoint
recover verify deadlock load stat codegen dump185 } {
}}}
--
Ticket URL: <http://trac.macports.org/ticket/22291#comment:11>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list