[39093] trunk/dports/databases/freetds
mcalhoun at macports.org
mcalhoun at macports.org
Fri Aug 8 00:14:45 PDT 2008
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
Modified Paths:
--------------
trunk/dports/databases/freetds/Portfile
Removed Paths:
-------------
trunk/dports/databases/freetds/files/
Modified: trunk/dports/databases/freetds/Portfile
===================================================================
--- trunk/dports/databases/freetds/Portfile 2008-08-08 05:35:23 UTC (rev 39092)
+++ trunk/dports/databases/freetds/Portfile 2008-08-08 07:14:43 UTC (rev 39093)
@@ -1,9 +1,9 @@
# $Id$
PortSystem 1.0
+
name freetds
-version 0.64
-revision 1
+version 0.82
categories databases
platforms darwin
maintainers nomaintainer
@@ -13,8 +13,10 @@
homepage http://www.freetds.org/
master_sites http://ibiblio.org/pub/Linux/ALPHA/${name}/stable/ \
http://ibiblio.org/pub/Linux/ALPHA/${name}/old/${version}/
-checksums md5 ecfee5d6c96932172a1f29fb215c9d23
-depends_lib port:libiconv
+checksums md5 3df6b2e83fd420e90f1becbd1162990a \
+ sha1 7e2a0c9e41c240c2d1c7f69c6f278e9a5bb80c2d \
+ rmd160 d3596c512022332cdb3bab375950159f1e930a4b
+depends_lib port:libiconv port:ncurses port:readline
worksrcdir freetds-${version}
configure.args --mandir=${prefix}/share/man \
@@ -27,33 +29,32 @@
${destroot}${prefix}/share/doc/${name}
}
+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"
}
}
-variant mssql {
+variant mssql description {Use MS style dblib} {
configure.args-append = --enable-msdblib --with-tdsver=8.0
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080808/a0ebb68f/attachment-0001.html
More information about the macports-changes
mailing list