Ticket #53747: lmdb.diff
File lmdb.diff, 2.1 KB (added by RJVB (René Bertin), 8 years ago) |
---|
-
databases/lmdb/Portfile
old new 4 4 5 5 PortGroup github 1.0 6 6 7 github.setup LMDB lmdb 0.9.1 8LMDB_7 github.setup LMDB lmdb 0.9.19 LMDB_ 8 8 9 9 categories databases 10 10 maintainers nomaintainer … … 25 25 platforms darwin 26 26 license OpenLDAP-2.8+ 27 27 28 checksums rmd160 cda848aa68df5f4190e482d44fbf088c7f323518\29 sha256 861f72846c8c723bd78d2cb394cc10dd4d3e933a0469a417a484a78b91226e1928 checksums rmd160 8460bc98e08b685e5d558979089587da9c5555f0 \ 29 sha256 ad98b6a0d131e1217564e8f30ed8393b93ce51a5aa3ad1caf0d59fb33b80c2fe 30 30 31 depends_build-append port:cctools 32 33 patchfiles patch-Makefile.diff 31 platform darwin { 32 depends_build-append port:cctools 33 } 34 34 35 35 worksrcdir ${name}-${version}/libraries/liblmdb 36 36 … … 38 38 39 39 variant universal {} 40 40 41 build.args CC="${configure.cc}" \ 41 build.args CC="${configure.cc}" 42 destroot.args CC="${configure.cc}" 43 platform darwin { 44 build.args-append \ 45 SOEXT=.dylib \ 46 THREADS="" \ 42 47 CFLAGS="${configure.cflags} [get_canonical_archflags]" 48 destroot.args-append \ 49 SOEXT=.dylib \ 50 THREADS="" 51 } 52 platform linux { 53 build.args-append \ 54 XCFLAGS="${configure.cflags} [get_canonical_archflags]" 55 } 43 56 44 57 destroot.args-append prefix=${prefix} 45 58 46 59 post-destroot { 47 # set install name to the library 48 set dylib ${prefix}/lib/liblmdb.dylib 49 system "install_name_tool -id ${dylib} ${destroot}${dylib}" 60 platform darwin { 61 # set full install name to the library 62 set dylib ${prefix}/lib/liblmdb.dylib 63 system "install_name_tool -id ${dylib} ${destroot}${dylib}" 64 } 50 65 51 66 # install additional documents 52 67 set docdir ${prefix}/share/doc/${name}