Ticket #37343: patch2.patch

File patch2.patch, 963 bytes (added by irony42@…, 8 years ago)

A patch that also works in the -subversion case

  • opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/net/nmap/Portfile

     
    3535                path:lib/libssl.dylib:openssl \
    3636                port:pcre \
    3737                port:zlib \
    38                 port:apr \
    39                 port:subversion
     38                port:apr
    4039
    4140use_bzip2       yes
    4241
    43 configure.args  --without-zenmap --without-ndiff \
     42configure.args  --without-zenmap --without-ndiff --without-subversion \
    4443                --mandir=\\\${prefix}/share/man \
    4544                --infodir=\\\${prefix}/share/info \
    4645                --with-openssl=${prefix} \
     
    6968                        configure.python ${prefix}/bin/python2.7
    7069                        depends_lib-append port:py27-pygtk
    7170                }
     71
     72variant subversion description {build with subversion support} {
     73                        configure.args-delete --without-subversion
     74                        configure.args-append --with-subversion=${prefix}
     75                        depends_lib-append port:subversion
     76                }