Changes between Initial Version and Version 2 of Ticket #3919


Ignore:
Timestamp:
Mar 24, 2016, 3:15:04 PM (8 years ago)
Author:
ryandesign (Ryan Carsten Schmidt)
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #3919

    • Property Status changed from new to closed
    • Property Resolution changed from to fixed
    • Property Port cclient added
  • Ticket #3919 – Description

    initial v2  
    11cclient-2004e_0 fails to build:
    22
     3{{{
    34Once-only environment setup...
    45echo cc > CCTYPE
     
    1011 -DRSHPATH=\"/usr/ucb/rsh\" -DLOCKPGM=\"/etc/mlock\" > OSCFLAGS
    1112echo   > LDFLAGS
    12 echo "ar rc c-client.a osdep.o mail.o misc.o newsrc.o smanager.o utf8.o siglocal.o dummy.o pseudo.o
    13 netmsg.o flstring.o fdstring.o rfc822.o nntp.o smtp.o imap4r1.o pop3.o unix.o mbx.o mmdf.o tenex.o
    14 mtx.o news.o phile.o mh.o mx.o;ranlib c-client.a" > ARCHIVE
     13echo "ar rc c-client.a osdep.o mail.o misc.o newsrc.o smanager.o utf8.o siglocal.o dummy.o pseudo.o netmsg.o flstring.o fdstring.o rfc822.o nntp.o smtp.o imap4r1.o pop3.o unix.o mbx.o mmdf.o tenex.o mtx.o news.o phile.o mh.o mx.o;ranlib c-client.a" > ARCHIVE
    1514echo osx > OSTYPE
    1615./drivers mbox imap nntp pop3 mh mx mbx tenex mtx mmdf unix news phile dummy
    1716./mkauths gss md5 pla log
    1817echo -I/usr/local/include -DGSS_C_NT_HOSTBASED_SERVICE=gss_nt_service_name >> OSCFLAGS
    19 sh -c '(test -f /usr/local/lib/libk5crypto.a) && echo -L/usr/local/lib -lgssapi_krb5 -lkrb5 -lk5crypto
    20 -lcom_err || echo -L/usr/local/lib -lgssapi_krb5 -lkrb5 -lcrypto -lcom_err' >> LDFLAGS
     18sh -c '(test -f /usr/local/lib/libk5crypto.a) && echo -L/usr/local/lib -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err || echo -L/usr/local/lib -lgssapi_krb5 -lkrb5 -lcrypto -lcom_err' >> LDFLAGS
    2119echo "#include \"kerb_mit.c\"" >> auths.c
    2220echo -DMD5ENABLE=\"/etc/cram-md5.pwd\" >> OSCFLAGS
     
    2927ln: ip_unix.c: File exists
    3028make[3]: *** [onceenv] Error 1
    31 
     29}}}
    3230
    3331With these changes to the cclient Portfile I can build cclient 2004e. Also checked with building php.
    3432Hope this helps.
    3533
     34{{{
    3635--- Portfile    Fri Jul  8 10:46:59 2005
    3736+++ Portfile.new        Sat Jul  9 10:32:33 2005
     
    5049-       reinplace "s|/usr/include/openssl|${prefix}/include/openssl|g" Makefile
    5150-       reinplace "s|/usr/lib|${prefix}/lib|g" Makefile
    52 +       reinplace "s|/System/Library/OpenSSL SSLINCLUDE=/usr/include/openssl SSLLIB=/usr/
    53 lib|${prefix}/etc/openssl SSLINCLUDE=${prefix}/include SSLLIB=${prefix}/lib|g" Makefile
     51+       reinplace "s|/System/Library/OpenSSL SSLINCLUDE=/usr/include/openssl SSLLIB=/usr/lib|${prefix}/etc/openssl SSLINCLUDE=${prefix}/include SSLLIB=${prefix}/lib|g" Makefile
    5452+       reinplace "s| -Wno-pointer-sign||g" src/osdep/unix/Makefile
    5553 }
     
    6563        xinstall -m 644 ${worksrcpath}/c-client/c-client.a \
    6664                ${destroot}${prefix}/lib/libc-client4.a
     65}}}