Ticket #33671: libpqxx-4.0.diff
File libpqxx-4.0.diff, 2.3 KB (added by ryandesign (Ryan Carsten Schmidt), 13 years ago) |
---|
-
Portfile
4 4 PortSystem 1.0 5 5 6 6 name libpqxx 7 version 3.0.27 version 4.0 8 8 9 9 categories databases devel 10 10 … … 29 29 30 30 homepage http://pqxx.org/development/libpqxx/ 31 31 master_sites http://pqxx.org/download/software/libpqxx/ 32 #http://pqxx.org/download/software/libpqxx/libpqxx-3.0.1.tar.gz33 32 34 distname libpqxx-${version} 33 checksums rmd160 517683e7f936126a9d133056740802518f62d18a \ 34 sha256 b160043289cfbf2a186d3b12f9976b6914e76d918d3d4469ff408bd199bbb8ed 35 35 36 checksums md5 3baa257e851b773fa1d693bbe185a418 \ 37 sha1 6af866e06668e9c8b7af4161dddb1ab5f4bf094c \ 38 rmd160 0162ea135d56c203f45f9d5d328a29d2db72b102 39 40 variant pq83 description {use postgresql83} { 36 if {![variant_isset postgresql83] && ![variant_isset postgresql84] && ![variant_isset postgresql90] && ![variant_isset postgresql91]} { 37 default_variants +postgresql91 41 38 } 42 39 43 if {[variant_isset pq83]} { 44 set server postgresql83 45 } else { 46 set server postgresql84 40 variant pq83 requires postgresql83 description {Legacy compatibility variant} {} 41 42 variant postgresql83 conflicts postgresql84 postgresql90 postgresql91 description {Use postgresql83} {} 43 variant postgresql84 conflicts postgresql83 postgresql90 postgresql91 description {Use postgresql84} {} 44 variant postgresql90 conflicts postgresql83 postgresql84 postgresql91 description {Use postgresql90} {} 45 variant postgresql91 conflicts postgresql83 postgresql84 postgresql90 description {Use postgresql91} {} 46 47 if {[variant_isset postgresql83]} { 48 set server postgresql83 49 } elseif {[variant_isset postgresql84]} { 50 set server postgresql84 51 } elseif {[variant_isset postgresql90]} { 52 set server postgresql90 53 } elseif {[variant_isset postgresql91]} { 54 set server postgresql91 47 55 } 48 56 49 57 platforms darwin 50 58 depends_build path:bin/pkg-config:pkgconfig 51 59 depends_lib port:${server} 52 60 61 patchfiles patch-tools-maketemporary.diff \ 62 patch-tools-splitconfig.diff 63 64 platform darwin { 65 patchfiles-append patch-configure.diff 66 } 67 53 68 configure.env-append \ 54 69 PG_CONFIG=${prefix}/lib/${server}/bin/pg_config 55 70