New Ticket     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #17328: cyrus-sasl2.diff

File cyrus-sasl2.diff, 1.4 KB (added by blb@…, 3 years ago)

diff to cyrus-sasl2

  • files/patch-utils_Makefile.in.diff

     
     1--- utils/Makefile.in.orig      2009-05-07 08:25:01.000000000 -0600 
     2+++ utils/Makefile.in   2009-06-11 01:18:26.000000000 -0600 
     3@@ -121,7 +121,7 @@ 
     4 JAVA_FALSE = @JAVA_FALSE@ 
     5 JAVA_INCLUDES = @JAVA_INCLUDES@ 
     6 JAVA_TRUE = @JAVA_TRUE@ 
     7-LDFLAGS = @LDFLAGS@ 
     8+LDFLAGS = -L../lib/.libs @LDFLAGS@ 
     9 LIBOBJS = @LIBOBJS@ 
     10 LIBS = @LIBS@ 
     11 LIBTOOL = @LIBTOOL@ 
  • Portfile

     
    2626depends_lib             port:openssl \ 
    2727                                port:zlib 
    2828 
     29patchfiles              patch-utils_Makefile.in.diff 
     30 
    2931default_variants        +kerberos 
    3032 
    3133configure.args \ 
     
    6062#autoreconf.args -fvi 
    6163#autoreconf.env ACLOCAL="aclocal -I${worksrcpath}/cmulocal -I${worksrcpath}/config" 
    6264 
    63 pre-configure { 
    64     if {[file exists ${prefix}/lib/libsasl2.dylib]} { 
    65         ui_error "cyrus-sasl2 will not build when another version is active." 
    66         ui_error "Please deactivate or uninstall cyrus-sasl2, and then install" 
    67         ui_error "the new version with `sudo port install cyrus-sasl2`." 
    68         error "cyrus-sasl2 upgrade failed" 
    69     } 
    70 } 
    71  
    7265destroot.keepdirs \ 
    7366    ${destroot}${prefix}/var/state/saslauthd \ 
    7467    ${destroot}${prefix}/var/pwcheck