source: trunk/dports/devel/mico/Portfile

Last change on this file was 146517, checked in by raimue@…, 21 months ago

Mass rev-bump dependents of port openssl due to ABI change

Disabling SSLv2 in r146162 changed the ABI of the library, leading to loading
errors for binaries with references to SSLv2 symbols.

https://lists.macosforge.org/pipermail/macports-dev/2016-March/032531.html

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.1 KB
Line 
1# $Id: Portfile 146517 2016-03-10 17:49:28Z ryandesign@macports.org $
2
3PortSystem          1.0
4
5name                mico
6version             2.3.13
7revision            3
8homepage            http://www.mico.org/
9description         Fully compliant CORBA implementation
10long_description    MICO is a mature, secure, robust, fully \
11                    standards-compliant implementation of the CORBA standard.
12categories          devel
13license             GPL-2+
14platforms           darwin
15maintainers         jann schiebel.us:darrell openmaintainer
16master_sites        http://www.mico.org/
17
18depends_lib         path:lib/libssl.dylib:openssl port:ncurses
19
20checksums           ${distname}${extract.suffix} md5 a8e5d5a0e32dba2ef767eb5189f1732a \
21                    ${distname}${extract.suffix} sha1 ee0138deb4d9ad0a50fe18e0b2add99fb5831c93 \
22                    ${distname}${extract.suffix} rmd160 70c8b9e68deac853ed2a28f48cd719bdef4e60fb
23patchfiles          patch-mico-shld.def.in.diff \
24                    patch-configure.diff \
25                    patch-main-sig.diff
26worksrcdir          mico
27patch.pre_args      -p1
28post-patch          {
29                       reinplace "s,@prefix@,${prefix},g" ${worksrcpath}/admin/mico-shld.def.in
30                       reinplace "s,(SHARED_INSTDIR)/man,(SHARED_INSTDIR)/share/man,g" ${worksrcpath}/man/Makefile
31                       reinplace "s,(SHARED_INSTDIR)/doc,(SHARED_INSTDIR)/share/doc,g" ${worksrcpath}/Makefile
32                       reinplace "s,(INSTDIR)/doc,(INSTDIR)/share/doc,g" ${worksrcpath}/demo/MakeVars
33                       system "find ${worksrcpath}/demo -name Makefile | xargs sed -i.bak s,\\(INSTDIR\\)/doc,\\(INSTDIR\\)/share/doc,g"
34                    }
35configure.args      --with-ssl=${prefix}
36
37platform powerpc    {
38                        post-configure {
39                            # Hack to get it to build on PPC
40                            set the_file [open ${worksrcpath}/include/mico/config.h a]
41                            puts $the_file "#define HAVE_DYNAMIC_CAST 1"
42                            close $the_file
43                        }
44                    }
45
46destroot.destdir    INSTDIR=${destroot}${prefix} SHARED_INSTDIR=${destroot}${prefix}
Note: See TracBrowser for help on using the repository browser.