Ticket #17090: apr-util-universal.diff

File apr-util-universal.diff, 629 bytes (added by nox@…, 15 years ago)

Universal support without muniversal PortGroup

  • Portfile

     
    6262                        reinplace "s|^Libs: |Libs: ${extralibs} |" $worksrcpath/apr-util.pc.in
    6363                }
    6464
     65if {[variant_isset universal]} {
     66        pre-build {
     67                build.args      EXTRA_CFLAGS='${configure.universal_cflags}' \
     68                                EXTRA_LDFLAGS='${configure.universal_ldflags}'
     69        }
     70}
     71
    6572variant postgresql84    description {Build with postgres support (using postgresql v8.4)} conflicts postgresql82 postgresql83 {
    6673                                depends_lib-append port:postgresql84
    6774                                configure.args-delete --without-pgsql