[MacPorts] #20857: cclient compiling on snow leopard 10.6
MacPorts
noreply at macports.org
Fri Aug 28 09:54:03 PDT 2009
#20857: cclient compiling on snow leopard 10.6
-------------------------------------------+--------------------------------
Reporter: macports@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.8.0
Keywords: | Port: cclient
-------------------------------------------+--------------------------------
I found three problems when compiling cclient on 10.6.
The first problem: snow leopard uses openpam and so /usr/include/pam/ is
now /usr/include/security/ when looking for pam_appl.h
(kludge: "cd /usr/include; sudo ln -s security pam")
The second problem: make -j2 fails with obscure error. Fix was to run
make WITHOUT -j2.
The third problem: the current version listed is 2007d, but 2007e is
available. But this messes up the reinplace command, it is too clever. I
broke it up into 3 more compatible commands in the Portfile:
reinplace "s|/System/Library/OpenSSL|${prefix}/etc/openssl|g"
${worksrcpath}/Makefile
reinplace
"s|SSLINCLUDE=/usr/include/openssl|SSLINCLUDE=${prefix}/include/openssl|g"
${worksrcpath}/Makefile
reinplace "s|SSLLIB=/usr/lib|SSLLIB=${prefix}/lib|g"
${worksrcpath}/Makefile
--
Ticket URL: <http://trac.macports.org/ticket/20857>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list