Ignore:
Timestamp:
Mar 25, 2014, 2:53:07 PM (6 years ago)
Author:
and.damore@…
Message:

port mdbtools: add unixodb and iodbc variants, fix #41537, nomaintainer

call builtin autogen.sh script rather than just autoreconf
add patchfile for removing ld GNU-only option
remove useless option still present in current patchfiles

Location:
trunk/dports/databases/mdbtools
Files:
1 added
4 edited

Legend:

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

    r114431 r118199  
    2929
    3030patchfiles              patch-configure_in.diff \
    31                         patch-src_sql_makefile_am.diff \
    32                         patch-src_libmdb_makefile_am.diff
     31                        patch-src_libmdb_makefile_am.diff \
     32                        patch-src_odbc_makefile_am.diff \
     33                        patch-src_sql_makefile_am.diff
    3334                       
    3435use_autoreconf          yes
    3536configure.args-append   --mandir=${prefix}/share/man
     37autoreconf.cmd          ./autogen.sh
     38autoreconf.args         ${configure.args}
     39
     40
     41variant unixodbc conflicts iodbc description {build odbc driver against unixODBC} {
     42    depends_lib-append  port:unixodbc
     43    configure.args-append   --with-unixodbc=${prefix}
     44}
     45
     46variant iodbc conflicts unixodbc description {build odbc driver against iODBC} {
     47    depends_lib-append  port:libiodbc
     48    configure.args-append   --with-iodbc=${prefix}
     49}
     50
  • trunk/dports/databases/mdbtools/files/patch-configure_in.diff

    r98116 r118199  
    66 
    77-LDFLAGS="$LDFLAGS -Wl,--as-needed"
    8 +LDFLAGS="$LDFLAGS -Wl,"
     8+LDFLAGS="$LDFLAGS"
    99 
    1010 dnl check for iODBC
  • trunk/dports/databases/mdbtools/files/patch-src_libmdb_makefile_am.diff

    r98116 r118199  
    55 libmdb_la_SOURCES=     catalog.c mem.c file.c table.c data.c dump.c backend.c money.c sargs.c index.c like.c write.c stats.c map.c props.c worktable.c options.c iconv.c
    66-libmdb_la_LDFLAGS = -version-info 2:0:0 -Wl,--version-script=$(srcdir)/libmdb.map
    7 +libmdb_la_LDFLAGS = -version-info 2:0:0 -Wl
     7+libmdb_la_LDFLAGS = -version-info 2:0:0
    88 AM_CPPFLAGS    =       -I$(top_srcdir)/include $(GLIB_CFLAGS)
    99 LIBS = $(GLIB_LIBS) @LIBS@
  • trunk/dports/databases/mdbtools/files/patch-src_sql_makefile_am.diff

    r98116 r118199  
    55 libmdbsql_la_SOURCES=  mdbsql.c parser.y lexer.l
    66-libmdbsql_la_LDFLAGS = -version-info 2:0:0 -Wl,--version-script=$(srcdir)/libmdbsql.map
    7 +libmdbsql_la_LDFLAGS = -version-info 2:0:0 -Wl
     7+libmdbsql_la_LDFLAGS = -version-info 2:0:0
    88 DISTCLEANFILES = parser.c parser.h lexer.c
    99 AM_CPPFLAGS    =       -I$(top_srcdir)/include $(GLIB_CFLAGS)
Note: See TracChangeset for help on using the changeset viewer.