[39093] trunk/dports/databases/freetds

Ryan Schmidt ryandesign at macports.org
Fri Aug 8 02:50:19 PDT 2008


> On Aug 8, 2008, at 02:14, mcalhoun at macports.org wrote:
>
>> Revision: 39093
>>           http://trac.macosforge.org/projects/macports/changeset/ 
>> 39093
>> Author:   mcalhoun at macports.org
>> Date:     2008-08-08 00:14:43 -0700 (Fri, 08 Aug 2008)
>> Log Message:
>> -----------
>> freetds: upgrade to version 0.82 and consolidate 6 patchfiles into  
>> reinplace commands

Looks like previously the patches were applied only for darwin 7, 8,  
and 9. Now you're applying the changes to all operating systems. Are  
these changes appropriate for operating systems other than Mac OS X?  
Did you determine why the patches were previously only being applied  
for darwin 7, 8, and 9?


On Aug 8, 2008, at 02:14, mcalhoun at macports.org wrote:

> +post-patch {
> +	reinplace "s|../replacements/libreplacements.la||g" \
> +		${worksrcpath}/src/server/Makefile.in \
> +		${worksrcpath}/src/ctlib/Makefile.in \
> +		${worksrcpath}/src/odbc/Makefile.in \
> +		${worksrcpath}/src/dblib/Makefile.in \
> +		${worksrcpath}/src/apps/Makefile.in
> +
> +	reinplace "s|../../replacements/libreplacements.la||g" \
> +		${worksrcpath}/src/apps/fisql/Makefile.in \
> +		${worksrcpath}/src/dblib/unittests/Makefile.in \
> +		${worksrcpath}/src/tds/unittests/Makefile.in
> +}
> +
>  platform darwin 7 {
> -	patchfiles	patch-src-tds-Makefile.in patch-src-server-Makefile.in \
> -		patch-src-ctlib-Makefile.in patch-src-odbc-Makefile.in \
> -		patch-src-dblib-Makefile.in patch-src-apps-Makefile.in
> -
>  	pre-build {
>  		system "cp /usr/bin/glibtool ${worksrcpath}/libtool"
>  	}
>  }
>
> -platform darwin 8 {
> -	patchfiles      patch-src-tds-Makefile.in patch-src-server- 
> Makefile.in \
> -		patch-src-ctlib-Makefile.in patch-src-odbc-Makefile.in \
> -		patch-src-dblib-Makefile.in patch-src-apps-Makefile.in
> -}
> -
>  platform darwin 9 {
> -	patchfiles      patch-src-tds-Makefile.in patch-src-server- 
> Makefile.in \
> -		patch-src-ctlib-Makefile.in patch-src-odbc-Makefile.in \
> -		patch-src-dblib-Makefile.in patch-src-apps-Makefile.in
> -	configure.compiler	gcc-4.0
> -
>  	pre-build {
>  		system "cp /usr/bin/glibtool ${worksrcpath}/libtool"
>  	}
>  }



More information about the macports-dev mailing list