Ticket #21102: freetds.patch
File freetds.patch, 990 bytes (added by meissnem@…, 15 years ago) |
---|
-
Portfile
old new 59 59 ${worksrcpath}/src/tds/unittests/Makefile.in 60 60 } 61 61 62 post-configure { 63 if {[variant_isset universal]} { 64 reinplace "s|-dynamiclib)|-dynamiclib) ${configure.ldflags} ${configure.universal_ldflags}|g" ${worksrcpath}/libtool 65 } else { 66 reinplace "s|-dynamiclib)|-dynamiclib) ${configure.ldflags}|" ${worksrcpath}/libtool 67 } 68 } 69 62 70 post-activate { 63 71 # copy over freetds sample files if none exists 64 72 ui_msg "\n****************************************************************" … … 89 97 } 90 98 } 91 99 100 platform darwin 10 { 101 pre-build { 102 system "cp /usr/bin/glibtool ${worksrcpath}/libtool" 103 reinplace "s|\"gcc\"|\"${configure.cc}\"|" ${worksrcpath}/libtool 104 } 105 } 106 92 107 variant mssql description {Use MS style dblib} { 93 108 configure.args-append --enable-msdblib --with-tdsver=8.0 94 109 }