Ticket #12102: Portfile.2.diff
File Portfile.2.diff, 1.3 KB (added by markd@…, 17 years ago) |
---|
-
Portfile
old new 1 # $Id: Portfile 2 0354 2006-11-02 02:06:03Z blair@macports.org $1 # $Id: Portfile 26049 2007-06-10 15:59:50Z markd@macports.org $ 2 2 3 3 PortSystem 1.0 4 4 PortGroup perl5 1.0 … … 15 15 module. 16 16 platforms darwin 17 17 checksums md5 48e2cf29d37f457a35eedc3104c41eac 18 depends_lib-append port:db4 19 configure.env BERKELEYDB_INCLUDE=${prefix}/include/db4 \ 20 BERKELEYDB_LIB=${prefix} 18 depends_lib-append port:db44 19 configure.env BERKELEYDB_INCLUDE=${prefix}/include/db44 \ 20 BERKELEYDB_LIB=${prefix}/lib/db44 \ 21 DBNAME=-ldb 22 23 variant db43 { 24 depends_lib-delete port:db44 25 depends_lib-append port:db43 26 configure.env-delete BERKELEYDB_INCLUDE=${prefix}/include/db44 \ 27 BERKELEYDB_LIB=${prefix}/lib/db44 \ 28 DBNAME=-ldb 29 30 configure.env-append BERKELEYDB_INCLUDE=${prefix}/include/db43 \ 31 BERKELEYDB_LIB=${prefix}/lib/db43 \ 32 DBNAME=-ldb-4 33 } 21 34 22 35 variant db3 { 23 depends_lib-delete port:db4 36 depends_lib-delete port:db44 24 37 depends_lib-append port:db3 25 configure.env-delete BERKELEYDB_INCLUDE=${prefix}/include/db4 38 configure.env-delete BERKELEYDB_INCLUDE=${prefix}/include/db44 26 39 configure.env-append BERKELEYDB_INCLUDE=${prefix}/include/db3 27 40 } 28 41