Ignore:
Timestamp:
Aug 8, 2011, 8:03:50 PM (6 years ago)
Author:
ryandesign@…
Message:

medusa: fix replacing /usr/local with prefix; add pcre dependency; force subversion variant always on since subversion libraries are always used even when not requested

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/security/medusa/Portfile

    r82146 r82148  
    55name               medusa
    66version            2.0
     7revision           1
    78categories         security net
    89platforms          darwin
     
    3132                    sha1    bdea5e5c81d588af35e564a54d9eb2b77eb92371 \
    3233                    rmd160  28e27525d704621c1d897c368a58080dac12be45
    33 dist_subdir        ${name}/${version}_${revision}
     34# Remove this line at next version update
     35dist_subdir        ${name}/${version}_0
    3436
    35 depends_lib        port:openssl port:libssh2
     37depends_lib        port:openssl port:libssh2 port:pcre
    3638
    3739livecheck.type     regex
     
    4446
    4547post-patch {
    46     # not very tasteful and doesn't fully work
    47     reinplace "s|/usr/local|${prefix}|" ${worksrcpath}/configure
     48    reinplace "s|@PREFIX@|${prefix}|g" ${worksrcpath}/configure.in
    4849}
    4950
     
    5455                   --enable-module-postgres=no
    5556
     57# All modules end up linked with libsvn_client-1.0.dylib, even if the svn
     58# module was not requested.
     59default_variants +subversion
     60if {![variant_isset subversion]} {
     61    variant_set subversion
     62}
     63
    5664variant subversion description "Build the Subversion module" {
    57     # the apr-* detection is problematic
    58     # configure.cppflags   "-I${prefix}/include/subversion-1 -I${prefix}/include/apr-0"
    5965    configure.args-delete --enable-module-svn=no
    60     configure.args-append --enable-module-svn=yes
     66    configure.args-append --enable-module-svn=yes \
     67                          --with-subversion=${prefix}
    6168    depends_lib-append port:subversion
    6269}
Note: See TracChangeset for help on using the changeset viewer.