Ticket #14857: Portfile.diff
File Portfile.diff, 2.4 KB (added by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez), 17 years ago) |
---|
-
Portfile
old new 20 20 rmd160 5290770ae1a97b022d93f4596aa612130fee6187 21 21 22 22 depends_lib port:apr port:expat \ 23 port:libiconv port:db4 4\23 port:libiconv port:db46 \ 24 24 port:sqlite3 25 25 26 26 configure.args --with-apr=${prefix}/bin/apr-1-config --with-expat=${prefix} \ 27 --with-iconv=${prefix} --with-berkeley-db=${prefix}/include:${prefix}/lib/db4 4\27 --with-iconv=${prefix} --with-berkeley-db=${prefix}/include:${prefix}/lib/db46 \ 28 28 --without-mysql --without-pgsql --with-sqlite3=${prefix} 29 29 30 30 test.run yes … … 32 32 test.env DYLD_LIBRARY_PATH=${worksrcpath}/.libs 33 33 34 34 variant no_bdb description {Build without BerkeleyDB support} { 35 depends_lib-delete port:db4 436 configure.args-delete --with-berkeley-db=${prefix}/include:${prefix}/lib/db4 435 depends_lib-delete port:db46 36 configure.args-delete --with-berkeley-db=${prefix}/include:${prefix}/lib/db46 37 37 configure.args-append --without-berkeley-db 38 38 } 39 39 … … 51 51 --with-ldap-lib=${prefix}/lib 52 52 } 53 53 54 set extralibs "-L${prefix}/lib/db4 4"54 set extralibs "-L${prefix}/lib/db46" 55 55 56 56 pre-configure { 57 57 reinplace "s|^Libs: |Libs: ${extralibs} |" $worksrcpath/apr-util.pc.in 58 58 } 59 59 60 variant postgresql82 description {Build with postgres support (using postgresql v8.2)} {60 variant postgresql82 description {Build with postgres support (using postgresql v8.2)} conflicts postgresql83 { 61 61 depends_lib-append port:postgresql82 62 62 configure.args-delete --without-pgsql 63 63 configure.args-append --with-pgsql=yes … … 72 72 } 73 73 } 74 74 75 variant postgresql83 description {Build with postgres support (using postgresql v8.3)} conflicts postgresql82 { 76 depends_lib-append port:postgresql83 77 configure.args-delete --without-pgsql 78 configure.args-append --with-pgsql=yes 79 configure.cppflags-append "-I${prefix}/include/postgresql83" 80 configure.ldflags-append "-L${prefix}/lib/postgresql83" 81 post-patch { 82 set extralibs "${extralibs} -L${prefix}/lib/postgresql83" 83 reinplace "s|^INCLUDES = |INCLUDES = -I@prefix@/include/postgresql83 |" \ 84 $worksrcpath/Makefile.in 85 reinplace "s|^APRUTIL_LDFLAGS = |APRUTIL_LDFLAGS = -L@prefix@/lib/postgresql83 |" \ 86 $worksrcpath/Makefile.in 87 } 88 } 89 75 90 livecheck.check regex 76 91 livecheck.url http://apache.org/dist/apr/ 77 92 livecheck.regex {<a href="#aprutil">APR-util (\d+(?:\.\d+)*) is the latest available version</a>}