[MacPorts] #55831: postgis2 fails to compile on Snow Leopard
MacPorts
noreply at macports.org
Fri Feb 16 16:12:44 UTC 2018
#55831: postgis2 fails to compile on Snow Leopard
----------------------------------+----------------------
Reporter: fvaccari | Owner:
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.4.2
Keywords: postgis2 SnowLeopard | Port: postgis2
----------------------------------+----------------------
I had to apply a modification to postgis2 Portfile in order for it to
compile under Snow Leopard. I attach here the modified Portfile, where I
added this code
{{{
build.args-append CC=${configure.cc} \
CXX=${configure.cxx} \
CPP=${configure.cpp}
}}}
after
{{{
build.args ICONV_LDFLAGS='-L${prefix}/lib -liconv'
}}}
I'm not sure this is the correct solution, or if it breaks on newer
systems, but it solved my issue...
--
Ticket URL: <https://trac.macports.org/ticket/55831>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list