[91355] trunk/dports/devel/libiodbc/Portfile

Ryan Schmidt ryandesign at macports.org
Fri Mar 30 15:50:10 PDT 2012


On Mar 30, 2012, at 14:02, snc at macports.org wrote:

> Revision: 91355
>          https://trac.macports.org/changeset/91355
> Author:   snc at macports.org
> Date:     2012-03-30 12:02:51 -0700 (Fri, 30 Mar 2012)
> Log Message:
> -----------
> libiodbc: update to 3.52.8, bootstrap for universal-capable builds
> 
> Modified Paths:
> --------------
>    trunk/dports/devel/libiodbc/Portfile
> 
> Modified: trunk/dports/devel/libiodbc/Portfile
> ===================================================================
> --- trunk/dports/devel/libiodbc/Portfile	2012-03-30 17:01:29 UTC (rev 91354)
> +++ trunk/dports/devel/libiodbc/Portfile	2012-03-30 19:02:51 UTC (rev 91355)
> @@ -2,10 +2,13 @@
> # $Id $
> 
> PortSystem          1.0
> +PortGroup           github 1.0
> 
> +github.setup        openlink iODBC 3.52.8 v
> +#override name (keep it lowercase)
> name                libiodbc
> conflicts           unixODBC
> -version             3.52.7
> +version             3.52.8
> categories          devel
> maintainers         snc openmaintainer
> license             BSD
> @@ -14,13 +17,11 @@
>                     an Open Source platform independent implementation of both the \
>                     ODBC and X/Open specifications.
> platforms           darwin
> -homepage            http://www.iodbc.org
> -master_sites        http://www.iodbc.org/downloads/iODBC
> -checksums           rmd160  7bdac0e18dd65debd41059ceb59b4653bed4774b \
> -                    sha256  d7002cc7e566785f1203f6096dcb49b0aad02a9d9946a8eca5d663ac1a85c0c7
> +depends_lib-append  port:libtool
> 
> -configure.args      --disable-gui --disable-gtktest
> +fetch.type          git

Does it need to fetch from git, or could it use the tarball?

I get this error either way:

../../iodbcinst/unicode.h:116: error: expected declaration specifiers or '...' before 'u_short'


> -livecheck.type      regex
> -livecheck.url       http://www.iodbc.org/dataspace/iodbc/wiki/iODBC/Downloads
> -livecheck.regex     Stable \\(v(\\d+(\\.\\d+)+)\\)
> +pre-configure {
> +    system -W ${worksrcpath} "sh ./bootstrap.sh"
> +}

This script seems to use autoconf, automake and libtool, so build dependencies on autoconf and automake are needed.

libiodbc didn't used to need to be autoreconf'd to build successfully, universal or not. But I do see that this version does not include a configure script at all, so it seems we can't avoid this.




More information about the macports-dev mailing list