Changeset 14336 for trunk/dports


Ignore:
Timestamp:
Sep 29, 2005, 9:14:29 PM (14 years ago)
Author:
mww
Message:

Bug: #3343
Submitted by: mark@…, mww@
Reviewed by: mww@

update to 0.63, make etc/include-dir unique, fix mandir, ensure gcc4 on darwin 8

Location:
trunk/dports/databases/FreeTDS
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/databases/FreeTDS/Portfile

    r12641 r14336  
    1 # $Id: Portfile,v 1.4 2005/06/14 06:28:40 jkh Exp $
     1# $Id: Portfile,v 1.5 2005/09/29 21:14:29 mww Exp $
    22
    33PortSystem 1.0
    44name                    freetds
    5 version                 0.61
     5version                 0.63
    66categories              databases
    77platforms               darwin
     
    1010long_description FreeTDS is an open source implementation of the TDS (Tabular DataStream) protocol used by these databases for their own clients. It supports many different flavors of the protocol and supports several APIs to access it. Additionally FreeTDS works with other software such as Perl and PHP, providing access from those languages as well. There is also a native (type 4) JDBC driver available for platform-independent Java clients (including Java Server Pages applications), with support for most of the JDBC 1 API and portions of the JDBC 2 API.
    1111
    12 extract.suffix  .tgz
    1312homepage        http://www.freetds.org/
    14 master_sites    opendarwin
    15 checksums       md5 95e91d26ddfdeed255771f3fa2c28129
    16 depends_lib     lib:libiconv.2:libiconv
    17 worksrcdir      freetds-0.61.2
     13master_sites    ftp://ftp.ibiblio.org/pub/Linux/ALPHA/${name}/stable/
     14checksums       md5 a0a5038cfb708180308b381f848baf75
     15depends_lib     port:libiconv
     16worksrcdir      freetds-${version}
    1817
    19 # The following only applies to Panther builds.
     18configure.args  --mandir=${prefix}/share/man \
     19                --includedir=${prefix}/include/${name} \
     20                --sysconfdir=${prefix}/etc/${name} \
     21                --with-libiconv-prefix=${prefix}
     22
     23post-destroot {
     24        file rename ${destroot}${prefix}/share/doc/${name}-${version} \
     25                ${destroot}${prefix}/share/doc/${name}
     26}
     27
    2028platform darwin 7 {
    21         patchfiles      patch-src-Makefile.in patch-src-tds-Makefile.in \
    22                 patch-src-server-Makefile.in patch-src-ctlib-Makefile.in \
    23                 patch-src-odbc-Makefile.in patch-src-dblib-Makefile.in
     29        patchfiles      patch-src-tds-Makefile.in patch-src-server-Makefile.in \
     30                patch-src-ctlib-Makefile.in patch-src-odbc-Makefile.in \
     31                patch-src-dblib-Makefile.in
    2432
    2533        pre-build {
     
    2735        }
    2836}
     37
     38platform darwin 8 {
     39        patchfiles      patch-src-tds-Makefile.in patch-src-server-Makefile.in \
     40                patch-src-ctlib-Makefile.in patch-src-odbc-Makefile.in \
     41                patch-src-dblib-Makefile.in
     42        configure.env   CC=/usr/bin/gcc-4.0 CPP=/usr/bin/cpp-4.0 CXX=/usr/bin/g++-4.0
     43}
     44
  • trunk/dports/databases/FreeTDS/files/patch-src-ctlib-Makefile.in

    r4256 r14336  
    1 --- src/ctlib/Makefile.in.orig  Sat Dec 20 14:09:20 2003
    2 +++ src/ctlib/Makefile.in       Sat Dec 20 14:09:35 2003
    3 @@ -142,7 +142,7 @@
    4  lib_LTLIBRARIES = libct.la
    5  libct_la_SOURCES = ct.c cs.c blk.c ctutil.c
    6  libct_la_LDFLAGS = -version-info 1:0:0
    7 -libct_la_LIBADD = ../tds/libtds_objects.la $(NETWORK_LIBS) $(LIBICONV) ../replacements/libreplacements.la
    8 +libct_la_LIBADD = ../tds/libtds_objects.la $(NETWORK_LIBS) $(LIBICONV)
     1--- src/ctlib/Makefile.in.orig  2005-05-26 09:26:47.000000000 -0700
     2+++ src/ctlib/Makefile.in       2005-05-26 09:28:03.000000000 -0700
     3@@ -179,7 +179,7 @@
     4 # version bumped for 0.63, I hope we'll bump it less in the future -- freddy77
     5 libct_la_LDFLAGS = -version-info 3:0:0 -export-symbols-regex '^(cs_|ct_|blk_).*' $(FREETDS_SYMBOLIC)
     6 
     7-libct_la_LIBADD = ../tds/libtds_objects.la ../replacements/libreplacements.la $(NETWORK_LIBS) $(LIBICONV) $(FREETDS_LIBGCC)
     8+libct_la_LIBADD = $(NETWORK_LIBS) $(LIBICONV) $(FREETDS_LIBGCC)
    99 
    1010 INCLUDES = -I$(top_srcdir)/include
    1111 subdir = src/ctlib
    12 @@ -151,8 +151,7 @@
     12@@ -188,8 +188,7 @@
    1313 CONFIG_CLEAN_FILES =
    1414 LTLIBRARIES = $(lib_LTLIBRARIES)
  • trunk/dports/databases/FreeTDS/files/patch-src-dblib-Makefile.in

    r4256 r14336  
    1 --- src/dblib/Makefile.in.orig  Sat Dec 20 14:14:22 2003
    2 +++ src/dblib/Makefile.in       Sat Dec 20 14:14:35 2003
    3 @@ -144,7 +144,7 @@
    4  EXTRA_DIST = dbopen.c
     1--- src/dblib/Makefile.in.orig  2005-05-26 09:30:01.000000000 -0700
     2+++ src/dblib/Makefile.in       2005-05-26 09:30:50.000000000 -0700
     3@@ -179,7 +179,7 @@
    54 libsybdb_la_SOURCES = dblib.c dbutil.c rpc.c bcp.c xact.c $(DBOPEN)
    6  libsybdb_la_LDFLAGS = -version-info 3:0:0
    7 -libsybdb_la_LIBADD = ../tds/libtds_objects.la $(NETWORK_LIBS) $(LIBICONV) ../replacements/libreplacements.la
    8 +libsybdb_la_LIBADD = ../tds/libtds_objects.la $(NETWORK_LIBS) $(LIBICONV)
     5 # version bumped for 0.63, I hope we'll bump it less in the future -- freddy77
     6 libsybdb_la_LDFLAGS = -version-info 5:0:0 -export-symbols-regex '^(db|bcp_|tdsdump_open|tdsdbopen|.*_xact|close_commit|open_commit|.?asprintf).*' $(FREETDS_SYMBOLIC)
     7-libsybdb_la_LIBADD = ../tds/libtds_objects.la ../replacements/libreplacements.la $(NETWORK_LIBS) $(LIBICONV) $(FREETDS_LIBGCC)
     8+libsybdb_la_LIBADD = ../tds/libtds_objects.la $(NETWORK_LIBS) $(LIBICONV) $(FREETDS_LIBGCC)
    99 
    1010 INCLUDES = -I$(top_srcdir)/include
    1111 subdir = src/dblib
    12 @@ -153,8 +153,7 @@
     12@@ -188,8 +188,7 @@
    1313 CONFIG_CLEAN_FILES =
    1414 LTLIBRARIES = $(lib_LTLIBRARIES)
  • trunk/dports/databases/FreeTDS/files/patch-src-odbc-Makefile.in

    r4256 r14336  
    1 --- src/odbc/Makefile.in.orig   Sat Dec 20 14:10:18 2003
    2 +++ src/odbc/Makefile.in        Sat Dec 20 14:11:11 2003
    3 @@ -147,8 +147,8 @@
    4         sql2tds.c sql2tds.h error.c
     1--- src/odbc/Makefile.in.orig   2005-05-26 09:31:48.000000000 -0700
     2+++ src/odbc/Makefile.in        2005-05-26 09:33:04.000000000 -0700
     3@@ -181,7 +181,7 @@
     4        sql2tds.c sql2tds.h error.c \
     5        odbc_checks.c odbc_checks.h
    56 
    6  EXTRA_DIST = tables.sql
    7 -@UNIXODBC_TRUE@libtdsodbc_la_LIBADD = ../tds/libtds_objects.la -lodbcinst $(NETWORK_LIBS) $(LIBICONV) ../replacements/libreplacements.la
    8 -@UNIXODBC_FALSE@libtdsodbc_la_LIBADD = ../tds/libtds_objects.la $(NETWORK_LIBS) $(LIBICONV) ../replacements/libreplacements.la
    9 +@UNIXODBC_TRUE@libtdsodbc_la_LIBADD = ../tds/libtds_objects.la -lodbcinst $(NETWORK_LIBS) $(LIBICONV)
    10 +@UNIXODBC_FALSE@libtdsodbc_la_LIBADD = ../tds/libtds_objects.la $(NETWORK_LIBS) $(LIBICONV)
    11  INCLUDES = -I$(top_srcdir)/include -I$(ODBC_INC)
    12  subdir = src/odbc
    13  mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
    14 @@ -158,9 +158,9 @@
     7-libtdsodbc_la_LIBADD = ../tds/libtds_objects.la ../replacements/libreplacements.la $(ODBCINSTLIB) $(NETWORK_LIBS) $(LIBICONV) $(FREETDS_LIBGCC)
     8+libtdsodbc_la_LIBADD = ../tds/libtds_objects.la $(ODBCINSTLIB) $(NETWORK_LIBS) $(LIBICONV) $(FREETDS_LIBGCC)
     9 INCLUDES = -I$(top_srcdir)/include $(ODBC_INC)
     10 # -module is needed by Darwin (Mac OS X)
     11 libtdsodbc_la_LDFLAGS = -export-symbols-regex '^(SQL|ODBCINST).*' $(FREETDS_SYMBOLIC) -module
     12@@ -191,8 +191,7 @@
     13 CONFIG_CLEAN_FILES =
     14 LTLIBRARIES = $(lib_LTLIBRARIES)
    1515 
    16  libtdsodbc_la_LDFLAGS =
    17  @UNIXODBC_TRUE@libtdsodbc_la_DEPENDENCIES = ../tds/libtds_objects.la \
    18 -@UNIXODBC_TRUE@        ../replacements/libreplacements.la
    19 +@UNIXODBC_TRUE@
    20  @UNIXODBC_FALSE@libtdsodbc_la_DEPENDENCIES = ../tds/libtds_objects.la \
    21 -@UNIXODBC_FALSE@       ../replacements/libreplacements.la
    22 +@UNIXODBC_FALSE@
     16-libtdsodbc_la_DEPENDENCIES = ../tds/libtds_objects.la \
     17-       ../replacements/libreplacements.la
     18+libtdsodbc_la_DEPENDENCIES = ../tds/libtds_objects.la
    2319 am_libtdsodbc_la_OBJECTS = odbc.lo connectparams.lo convert_tds2sql.lo \
    24         convert_sql2string.lo prepare_query.lo odbc_util.lo native.lo \
    25         sql2tds.lo error.lo
     20        descriptor.lo prepare_query.lo odbc_util.lo native.lo \
     21        sql2tds.lo error.lo odbc_checks.lo
  • trunk/dports/databases/FreeTDS/files/patch-src-server-Makefile.in

    r4256 r14336  
    1 --- src/server/Makefile.in.orig Sat Dec 20 14:00:04 2003
    2 +++ src/server/Makefile.in      Sat Dec 20 14:00:40 2003
    3 @@ -140,7 +140,7 @@
    4  lib_LTLIBRARIES = libtdssrv.la
     1--- src/server/Makefile.in.orig 2005-05-26 09:34:44.000000000 -0700
     2+++ src/server/Makefile.in      2005-05-26 09:35:07.000000000 -0700
     3@@ -175,7 +175,7 @@
    54 libtdssrv_la_SOURCES = query.c server.c login.c
    6  libtdssrv_la_LDFLAGS = -version-info 1:0:0
    7 -libtdssrv_la_LIBADD = ../tds/libtds_objects.la $(NETWORK_LIBS) $(LIBICONV) ../replacements/libreplacements.la
    8 +libtdssrv_la_LIBADD = ../tds/libtds_objects.la $(NETWORK_LIBS) $(LIBICONV)
     5 # bump server version whenever bumping libtds version
     6 libtdssrv_la_LDFLAGS = -version-info 2:0:0
     7-libtdssrv_la_LIBADD = ../tds/libtds_objects.la ../replacements/libreplacements.la $(NETWORK_LIBS) $(LIBICONV) $(FREETDS_LIBGCC)
     8+libtdssrv_la_LIBADD = ../tds/libtds_objects.la $(NETWORK_LIBS) $(LIBICONV) $(FREETDS_LIBGCC)
    99 INCLUDES = -I$(top_srcdir)/include
    10  EXTRA_DIST = unittest.c
    11  subdir = src/server
    12 @@ -149,8 +149,7 @@
     10 noinst_PROGRAMS = tdssrv
     11 tdssrv_LDADD = libtdssrv.la $(NETWORK_LIBS)
     12@@ -186,8 +186,7 @@
    1313 CONFIG_CLEAN_FILES =
    1414 LTLIBRARIES = $(lib_LTLIBRARIES)
     
    1919 am_libtdssrv_la_OBJECTS = query.lo server.lo login.lo
    2020 libtdssrv_la_OBJECTS = $(am_libtdssrv_la_OBJECTS)
    21  
     21 noinst_PROGRAMS = tdssrv$(EXEEXT)
  • trunk/dports/databases/FreeTDS/files/patch-src-tds-Makefile.in

    r4256 r14336  
    1 --- src/tds/Makefile.in.orig    Sat Dec 20 13:51:29 2003
    2 +++ src/tds/Makefile.in Sat Dec 20 13:51:39 2003
    3 @@ -152,7 +152,7 @@
    4  lib_LTLIBRARIES = libtds.la
    5  libtds_la_SOURCES =
    6  libtds_la_LDFLAGS = -version-info 2:0:0
    7 -libtds_la_LIBADD = libtds_objects.la $(NETWORK_LIBS) $(LIBICONV) ../replacements/libreplacements.la
    8 +libtds_la_LIBADD = libtds_objects.la $(NETWORK_LIBS) $(LIBICONV)
    9  noinst_HEADERS = tds_willconvert.h
    10  subdir = src/tds
    11  mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
    12 @@ -160,8 +160,7 @@
     1--- src/tds/Makefile.in.orig    2005-05-26 09:35:53.000000000 -0700
     2+++ src/tds/Makefile.in 2005-05-26 09:36:21.000000000 -0700
     3@@ -189,7 +189,7 @@
     4 # Release 0.63 is version 4, cf. ML 30 Nov 2004 11:08:28 -0600
     5 libtds_la_LDFLAGS = -version-info 4:0:0 -export-symbols-regex '^(tds_|tdsdump_|tds5_|tds7_).*'
     6 #                      bump server version whenever bumping libtds version
     7-libtds_la_LIBADD = libtds_objects.la ../replacements/libreplacements.la $(NETWORK_LIBS) $(LIBICONV) $(FREETDS_LIBGCC)
     8+libtds_la_LIBADD = libtds_objects.la $(NETWORK_LIBS) $(LIBICONV) $(FREETDS_LIBGCC)
     9 noinst_HEADERS = tds_willconvert.h character_sets.h \
     10                          alternative_character_sets.h sybase_character_sets.h \
     11                          encodings.h
     12@@ -200,8 +200,7 @@
    1313 CONFIG_CLEAN_FILES =
    1414 LTLIBRARIES = $(lib_LTLIBRARIES) $(noinst_LTLIBRARIES)
Note: See TracChangeset for help on using the changeset viewer.