Ticket #45546: Portfile-apr-util.diff
File Portfile-apr-util.diff, 1.4 KB (added by Schamschula (Marius Schamschula), 10 years ago) |
---|
-
Portfile
old new 4 4 5 5 name apr-util 6 6 version 1.5.4 7 revision 1 7 8 categories devel 8 9 maintainers geeklair.net:dluke 9 10 platforms darwin … … 21 22 rmd160 9710ffbffea60750b2c1f75532c607bda87ecb71 22 23 23 24 depends_lib port:apr port:expat \ 24 port:libiconv port:db4 6\25 port:libiconv port:db48 \ 25 26 port:sqlite3 26 27 27 28 use_parallel_build yes 28 29 configure.ccache no 29 30 configure.args --with-apr=${prefix}/bin/apr-1-config --with-expat=${prefix} \ 30 --with-iconv=${prefix} --with-berkeley-db=${prefix}/include:${prefix}/lib/db4 6\31 --with-iconv=${prefix} --with-berkeley-db=${prefix}/include:${prefix}/lib/db48 \ 31 32 --without-mysql --without-pgsql --without-sqlite2 --with-sqlite3=${prefix} 32 33 33 34 test.run yes … … 39 40 40 41 41 42 variant no_bdb description {Build without BerkeleyDB support} { 42 depends_lib-delete port:db4 643 configure.args-delete --with-berkeley-db=${prefix}/include:${prefix}/lib/db4 643 depends_lib-delete port:db48 44 configure.args-delete --with-berkeley-db=${prefix}/include:${prefix}/lib/db48 44 45 configure.args-append --without-berkeley-db 45 46 } 46 47 … … 58 59 --with-ldap-lib=${prefix}/lib 59 60 } 60 61 61 set extralibs "-L${prefix}/lib/db4 6"62 set extralibs "-L${prefix}/lib/db48" 62 63 63 64 pre-configure { 64 65 reinplace "s|^Libs: |Libs: ${extralibs} |" $worksrcpath/apr-util.pc.in