[MacPorts] #12994: postgresql82 fails to build on Mac OS X 10.5
Leopard
MacPorts
trac at macosforge.org
Fri Nov 16 05:48:21 PST 2007
#12994: postgresql82 fails to build on Mac OS X 10.5 Leopard
--------------------------------+-------------------------------------------
Reporter: dm at petefowler.com | Owner: mww at macports.org
Type: defect | Status: assigned
Priority: Normal | Milestone: Port Bugs
Component: ports | Version: 1.5.0
Resolution: | Keywords:
--------------------------------+-------------------------------------------
Comment (by grady.vincent at gmail.com):
this patch to the port file works for me.
{{{
--- Portfile.orig 2007-10-30 11:49:08.000000000 +1100
+++ Portfile 2007-11-17 00:42:45.000000000 +1100
@@ -50,6 +50,7 @@
configure.cppflags-append "-I${worksrcpath}/src/interfaces/libpq"
build.type gnu
+build.cmd "unset LD_PREBIND LD_PREBIND_ALLOW_OVERLAP &&
${build.cmd}"
build.target
test.run yes
@@ -63,7 +64,7 @@
post-build {
foreach contrib ${contribs} {
- system "cd ${worksrcpath}/contrib/${contrib}/ &&
${build.cmd}"
+ system "cd ${worksrcpath}/contrib/${contrib}/ && unset
LD_PREBIND LD_PREBIND_ALLOW_OVERLAP && make"
}
}
@@ -71,7 +72,7 @@
foreach contrib ${contribs} {
system "echo contrib: \"${contrib}\""
system "cd ${worksrcpath}/contrib/${contrib}/ && \
- ${build.cmd} install ${destroot.destdir} && touch
DONE"
+ make install ${destroot.destdir} && touch DONE"
}
system "cd ${destroot}${prefix}/bin && ln -sf ${libdir}/bin/psql
psql82"
file delete -force ${destroot}${prefix}/share/doc/${name} \
}}}
--
Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/12994#comment:33>
MacPorts </projects/macports>
Ports system for Mac OS
More information about the macports-tickets
mailing list