From owner-freebsd-ports Wed Mar 20 1: 0:50 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 7F55E37B433 for ; Wed, 20 Mar 2002 01:00:04 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2K902m52333; Wed, 20 Mar 2002 01:00:02 -0800 (PST) (envelope-from gnats) Received: from gate.pc88.gr.jp (gate.pc88.gr.jp [202.224.239.170]) by hub.freebsd.org (Postfix) with ESMTP id 873BF37B400 for ; Wed, 20 Mar 2002 00:52:04 -0800 (PST) Received: (from hidekazu@localhost) by gate.pc88.gr.jp (8.11.6/8.11.6) id g2K8aMH63556; Wed, 20 Mar 2002 17:36:22 +0900 (JST) (envelope-from hidekazu) Message-Id: <200203200836.g2K8aMH63556@gate.pc88.gr.jp> Date: Wed, 20 Mar 2002 17:36:22 +0900 (JST) From: Hidekazu Kuroki Reply-To: Hidekazu Kuroki To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/36129: Update Port:databases/libiodbc(support pthread and WITHOUT_GUI) Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >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