Date: Wed, 20 Mar 2002 17:36:22 +0900 (JST) From: Hidekazu Kuroki <hidekazu@pc88.gr.jp> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/36129: Update Port:databases/libiodbc(support pthread and WITHOUT_GUI) Message-ID: <200203200836.g2K8aMH63556@gate.pc88.gr.jp>
next in thread | raw e-mail | index | archive | help
>Number: 36129 >Category: ports >Synopsis: Update Port:databases/libiodbc(support pthread and WITHOUT_GUI) >Confidential: no >Severity: non-critical >Priority: high >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Wed Mar 20 01:00:02 PST 2002 >Closed-Date: >Last-Modified: >Originator: Hidekazu Kuroki >Release: FreeBSD 4.5-RELEASE i386 >Organization: >Environment: System: FreeBSD gate.pc88.gr.jp 4.5-RELEASE FreeBSD 4.5-RELEASE #0: Mon Jan 28 14:31:56 GMT 2002 murray@builder.freebsdmall.com:/usr/src/sys/compile/GENERIC i386 >Description: Update databases/libiodbc: - Enable --with-pthreads option. - Add WITH_GUI support(not default). >How-To-Repeat: >Fix: ----BEGIN---- diff -rcN libiodbc.orig/Makefile libiodbc/Makefile *** libiodbc.orig/Makefile Sun Dec 2 18:46:11 2001 --- libiodbc/Makefile Wed Mar 20 17:17:22 2002 *************** *** 10,15 **** --- 10,16 ---- PORTNAME= libiodbc PORTVERSION= 3.0.5 + PORTREVISION= 1 CATEGORIES= databases MASTER_SITES= http://www.iodbc.org/dist/ *************** *** 17,26 **** USE_LIBTOOL= yes USE_GMAKE= yes USE_GTK= yes INSTALLS_SHLIB= yes INIDIR= ${PREFIX}/etc/${PORTNAME} ! CONFIGURE_ARGS= --with-iodbc-inidir=${INIDIR} post-install: @ ${MKDIR} ${PREFIX}/bin && ${INSTALL_PROGRAM} \ --- 18,41 ---- USE_LIBTOOL= yes USE_GMAKE= yes + .if !defined(WITHOUT_GUI) USE_GTK= yes + .endif INSTALLS_SHLIB= yes + INIDIR= ${PREFIX}/etc/${PORTNAME} ! CONFIGURE_ARGS= --with-iodbc-inidir=${INIDIR} \ ! --with-pthreads ! .if defined(WITHOUT_GUI) ! CONFIGURE_ARGS+=--disable-gui ! .endif ! CONFIGURE_ENV+= LDFLAGS="-lc_r" ! ! .if defined(WITHOUT_GUI) ! PLIST_SUB+= GUI="@comment " ! .else ! PLIST_SUB+= GUI="" ! .endif post-install: @ ${MKDIR} ${PREFIX}/bin && ${INSTALL_PROGRAM} \ diff -rcN libiodbc.orig/pkg-plist libiodbc/pkg-plist *** libiodbc.orig/pkg-plist Wed Mar 20 17:27:45 2002 --- libiodbc/pkg-plist Wed Mar 20 17:19:08 2002 *************** *** 5,11 **** %%PORTDOCS%%share/doc/libiodbc/README bin/iodbc-config bin/iodbc-odbctest ! bin/iodbcadm-gtk etc/libiodbc/odbc.ini.sample etc/libiodbc/odbcinst.ini.sample include/iodbcinst.h --- 5,11 ---- %%PORTDOCS%%share/doc/libiodbc/README bin/iodbc-config bin/iodbc-odbctest ! %%GUI%%bin/iodbcadm-gtk etc/libiodbc/odbc.ini.sample etc/libiodbc/odbcinst.ini.sample include/iodbcinst.h *************** *** 15,36 **** include/sql.h include/sqlext.h include/sqltypes.h ! lib/libdrvproxy-gtk.a ! lib/libdrvproxy-gtk.la ! lib/libdrvproxy.a ! lib/libdrvproxy.la ! lib/libdrvproxy.so ! lib/libdrvproxy.so.3 lib/libiodbc.a lib/libiodbc.la lib/libiodbc.so lib/libiodbc.so.3 ! lib/libiodbcadm-gtk.a ! lib/libiodbcadm-gtk.la ! lib/libiodbcadm.a ! lib/libiodbcadm.la ! lib/libiodbcadm.so ! lib/libiodbcadm.so.3 lib/libiodbcinst.a lib/libiodbcinst.la lib/libiodbcinst.so --- 15,36 ---- include/sql.h include/sqlext.h include/sqltypes.h ! %%GUI%%lib/libdrvproxy-gtk.a ! %%GUI%%lib/libdrvproxy-gtk.la ! %%GUI%%lib/libdrvproxy.a ! %%GUI%%lib/libdrvproxy.la ! %%GUI%%lib/libdrvproxy.so ! %%GUI%%lib/libdrvproxy.so.3 lib/libiodbc.a lib/libiodbc.la lib/libiodbc.so lib/libiodbc.so.3 ! %%GUI%%lib/libiodbcadm-gtk.a ! %%GUI%%lib/libiodbcadm-gtk.la ! %%GUI%%lib/libiodbcadm.a ! %%GUI%%lib/libiodbcadm.la ! %%GUI%%lib/libiodbcadm.so ! %%GUI%%lib/libiodbcadm.so.3 lib/libiodbcinst.a lib/libiodbcinst.la lib/libiodbcinst.so -----END----- >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200203200836.g2K8aMH63556>