From nobody@FreeBSD.org  Wed Jan 24 04:45:10 2001
Return-Path: <nobody@FreeBSD.org>
Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21])
	by hub.freebsd.org (Postfix) with ESMTP id 8A21937B404
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 24 Jan 2001 04:45:09 -0800 (PST)
Received: (from nobody@localhost)
	by freefall.freebsd.org (8.11.1/8.11.1) id f0OCj9a33658;
	Wed, 24 Jan 2001 04:45:09 -0800 (PST)
	(envelope-from nobody)
Message-Id: <200101241245.f0OCj9a33658@freefall.freebsd.org>
Date: Wed, 24 Jan 2001 04:45:09 -0800 (PST)
From: tkato@prontomail.ne.jp
To: freebsd-gnats-submit@FreeBSD.org
Subject: Update port: databases/unixODBC
X-Send-Pr-Version: www-1.0

>Number:         24601
>Category:       ports
>Synopsis:       Update port: databases/unixODBC
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jan 24 04:50:01 PST 2001
>Closed-Date:    Wed Jan 24 22:48:19 PST 2001
>Last-Modified:  Wed Jan 24 22:48:31 PST 2001
>Originator:     KATO Tsuguru
>Release:        4.2-RELEASE i386
>Organization:
>Environment:
>Description:
- Add missing file (bin/isql) to pkg-plist
- Use NOPORTDOCS PLIST_SUB
- Fix patches

>How-To-Repeat:

>Fix:
diff -urN /usr/ports/databases/unixODBC/Makefile databases/unixODBC/Makefile
--- /usr/ports/databases/unixODBC/Makefile	Wed Jan 17 20:27:52 2001
+++ databases/unixODBC/Makefile	Wed Jan 24 05:30:14 2001
@@ -7,6 +7,7 @@
 
 PORTNAME=	unixODBC
 PORTVERSION=	2.0.3
+PORTREVISION=	1
 CATEGORIES=	databases
 MASTER_SITES=	http://www.unixodbc.org/
 
diff -urN /usr/ports/databases/unixODBC/files/patch-ab databases/unixODBC/files/patch-ab
--- /usr/ports/databases/unixODBC/files/patch-ab	Mon Jan 22 20:22:12 2001
+++ databases/unixODBC/files/patch-ab	Wed Jan 24 00:34:03 2001
@@ -1,5 +1,5 @@
---- aclocal.m4~	Sat Jan 20 23:50:41 2001
-+++ aclocal.m4	Sat Jan 20 23:51:55 2001
+--- aclocal.m4.orig	Mon Jan 15 05:45:19 2001
++++ aclocal.m4	Wed Jan 24 00:32:54 2001
 @@ -518,7 +518,7 @@
  
  CXXFLAGS="$CXXFLAGS -I$qt_includes"
@@ -32,7 +32,7 @@
  AC_DEFUN(KDE_CHECK_LIBPTHREAD,
  [
 -AC_CHECK_LIB(pthread, pthread_create, [LIBPTHREAD="-lpthread"], LIBPTHREAD= )
-+AC_CHECK_LIB(pthread, pthread_create, [LIBPTHREAD="-pthread"], LIBPTHREAD= )
++AC_CHECK_LIB(c_r, pthread_create, [LIBPTHREAD="-pthread"], LIBPTHREAD= )
  AC_SUBST(LIBPTHREAD)
  ])
  
diff -urN /usr/ports/databases/unixODBC/files/patch-ac databases/unixODBC/files/patch-ac
--- /usr/ports/databases/unixODBC/files/patch-ac	Mon Jan 22 20:22:13 2001
+++ databases/unixODBC/files/patch-ac	Wed Jan 24 00:41:01 2001
@@ -1,34 +1,34 @@
---- configure.in~	Sat Jan 20 23:52:26 2001
-+++ configure.in	Sat Jan 20 23:56:35 2001
+--- configure.in.orig	Mon Jan 15 05:44:57 2001
++++ configure.in	Wed Jan 24 00:40:51 2001
 @@ -110,8 +110,8 @@
  ])
  AC_SUBST(READLINE)
  
 -AC_CHECK_LIB(c, strcasecmp, [AC_DEFINE(HAVE_STRCASECMP, 1)])
 -AC_CHECK_LIB(c, strncasecmp, [AC_DEFINE(HAVE_STRNCASECMP, 1)])
-+AC_CHECK_FUNC(c, strcasecmp, [AC_DEFINE(HAVE_STRCASECMP, 1)])
-+AC_CHECK_FUNC(c, strncasecmp, [AC_DEFINE(HAVE_STRNCASECMP, 1)])
++AC_CHECK_FUNC(strcasecmp, [AC_DEFINE(HAVE_STRCASECMP, 1)])
++AC_CHECK_FUNC(strncasecmp, [AC_DEFINE(HAVE_STRNCASECMP, 1)])
  
  LIBADD_DL=
  AC_CHECK_LIB(dl, dlopen, [AC_DEFINE(HAVE_LIBDL, 1) LIBADD_DL="-ldl"],
-@@ -134,25 +134,26 @@
+@@ -134,25 +134,27 @@
      AC_DEFINE(HAVE_LIBPTH,1)
    else
      AC_CHECK_LIBPT(pthread, pthread_mutex_lock )
 -    AC_CHECK_LIBPT(pthread, pthread_mutex_lock, 
-+    AC_CHECK_FUNC(c_r, pthread_mutex_lock,
++    AC_CHECK_LIBPT(c_r, pthread_mutex_lock,
      [
        AC_DEFINE(HAVE_LIBPTHREAD,1)
        if test "x$ac_cv_prog_gcc"="xyes"; then
--        CFLAGS="$CFLAGS -pthread"
-+        LIBS="$LIBS -pthread"
+         CFLAGS="$CFLAGS -pthread"
++        CXXFLAGS="$CXXFLAGS -pthread"
 +        AC_DEFINE(_THREAD_SAFE,1)
        fi
      ] )
  
      AC_CHECK_LIB(thread, mutex_lock )
 -    AC_CHECK_LIB(c, localtime_r, [AC_DEFINE(HAVE_LOCALTIME_R, 1)] )
-+    AC_CHECK_FUNC(c, localtime_r, [AC_DEFINE(HAVE_LOCALTIME_R, 1)] )
++    AC_CHECK_FUNC(localtime_r, [AC_DEFINE(HAVE_LOCALTIME_R, 1)] )
    fi
  fi
  
@@ -38,11 +38,11 @@
 -  AC_CHECK_LIB( c, shmget,[],[stats=false] )
 -  AC_CHECK_LIB( c, semop,[],[stats=false] )
 -  AC_CHECK_LIB( c, snprintf, [AC_DEFINE(HAVE_SNPRINTF)],[stats=false] )
-+  AC_CHECK_FUNC( c, ftok,[],[stats=false] )
-+  AC_CHECK_FUNC( c, semget,[],[stats=false] )
-+  AC_CHECK_FUNC( c, shmget,[],[stats=false] )
-+  AC_CHECK_FUNC( c, semop,[],[stats=false] )
-+  AC_CHECK_FUNC( c, snprintf, [AC_DEFINE(HAVE_SNPRINTF)],[stats=false] )
++  AC_CHECK_FUNC(ftok,[],[stats=false] )
++  AC_CHECK_FUNC(semget,[],[stats=false] )
++  AC_CHECK_FUNC(shmget,[],[stats=false] )
++  AC_CHECK_FUNC(semop,[],[stats=false] )
++  AC_CHECK_FUNC(snprintf, [AC_DEFINE(HAVE_SNPRINTF)],[stats=false] )
  fi
  
  if test "x$stats" = "xtrue"; then
diff -urN /usr/ports/databases/unixODBC/pkg-plist databases/unixODBC/pkg-plist
--- /usr/ports/databases/unixODBC/pkg-plist	Tue Jan  9 21:50:20 2001
+++ databases/unixODBC/pkg-plist	Tue Jan 23 06:37:02 2001
@@ -4,6 +4,7 @@
 bin/dltest
 bin/isql
 bin/odbcinst
+bin/sqi
 etc/odbc.ini
 etc/odbcinst.ini
 include/odbcinst.h
@@ -67,67 +68,67 @@
 lib/libtemplate.a
 lib/libtemplate.so
 lib/libtemplate.so.1
-share/doc/unixODBC/AdministratorManual/index.html
-share/doc/unixODBC/AdministratorManual/odbcinst.html
-share/doc/unixODBC/AdministratorManual/php3.html
-share/doc/unixODBC/AdministratorManual/unixODBC.gif
-share/doc/unixODBC/AdministratorManual/unixODBCsetup.html
-share/doc/unixODBC/ProgrammerManual/Tutorial/close.html
-share/doc/unixODBC/ProgrammerManual/Tutorial/conne.html
-share/doc/unixODBC/ProgrammerManual/Tutorial/dsn.html
-share/doc/unixODBC/ProgrammerManual/Tutorial/gloss.html
-share/doc/unixODBC/ProgrammerManual/Tutorial/index.html
-share/doc/unixODBC/ProgrammerManual/Tutorial/intro.html
-share/doc/unixODBC/ProgrammerManual/Tutorial/navi.html
-share/doc/unixODBC/ProgrammerManual/Tutorial/odbc.css
-share/doc/unixODBC/ProgrammerManual/Tutorial/query.html
-share/doc/unixODBC/ProgrammerManual/Tutorial/resul.html
-share/doc/unixODBC/ProgrammerManual/index.html
-share/doc/unixODBC/ProgrammerManual/unixODBC.gif
-share/doc/unixODBC/UserManual/Figure1.gif
-share/doc/unixODBC/UserManual/Figure2.gif
-share/doc/unixODBC/UserManual/Figure3.gif
-share/doc/unixODBC/UserManual/Figure4.gif
-share/doc/unixODBC/UserManual/Figure6.gif
-share/doc/unixODBC/UserManual/My.sql
-share/doc/unixODBC/UserManual/StarOfficeDataGrid.gif
-share/doc/unixODBC/UserManual/index.html
-share/doc/unixODBC/UserManual/unixODBC.gif
-share/doc/unixODBC/index.html
-share/doc/unixODBC/lst/InternalStructure.gif
-share/doc/unixODBC/lst/InternalStructure.html
-share/doc/unixODBC/lst/InternalStructure.vsd
-share/doc/unixODBC/lst/InternalStructure2.gif
-share/doc/unixODBC/lst/InternalStructure2.html
-share/doc/unixODBC/lst/InternalStructure3.gif
-share/doc/unixODBC/lst/InternalStructure3.html
-share/doc/unixODBC/lst/InternalStructure4.gif
-share/doc/unixODBC/lst/InternalStructure4.html
-share/doc/unixODBC/lst/InternalStructure5.gif
-share/doc/unixODBC/lst/InternalStructure5.html
-share/doc/unixODBC/lst/InternalStructure6.gif
-share/doc/unixODBC/lst/InternalStructure6.html
-share/doc/unixODBC/lst/InternalStructure7.gif
-share/doc/unixODBC/lst/InternalStructure7.html
-share/doc/unixODBC/lst/InternalStructure8.gif
-share/doc/unixODBC/lst/InternalStructure8.html
-share/doc/unixODBC/lst/InternalStructure9.gif
-share/doc/unixODBC/lst/InternalStructure9.html
-share/doc/unixODBC/lst/back.gif
-share/doc/unixODBC/lst/next.gif
-share/doc/unixODBC/smallbook.gif
-share/doc/unixODBC/sqi/InternalStructure.gif
-share/doc/unixODBC/sqi/InternalStructure.html
-share/doc/unixODBC/sqi/InternalStructure.vsd
-share/doc/unixODBC/sqi/InternalStructure2.gif
-share/doc/unixODBC/sqi/InternalStructure2.html
-share/doc/unixODBC/sqi/back.gif
-share/doc/unixODBC/sqi/next.gif
-share/doc/unixODBC/unixODBC.gif
-@dirrm share/doc/unixODBC/sqi
-@dirrm share/doc/unixODBC/lst
-@dirrm share/doc/unixODBC/UserManual
-@dirrm share/doc/unixODBC/ProgrammerManual/Tutorial
-@dirrm share/doc/unixODBC/ProgrammerManual
-@dirrm share/doc/unixODBC/AdministratorManual
-@dirrm share/doc/unixODBC
+%%PORTDOCS%%share/doc/unixODBC/AdministratorManual/index.html
+%%PORTDOCS%%share/doc/unixODBC/AdministratorManual/odbcinst.html
+%%PORTDOCS%%share/doc/unixODBC/AdministratorManual/php3.html
+%%PORTDOCS%%share/doc/unixODBC/AdministratorManual/unixODBC.gif
+%%PORTDOCS%%share/doc/unixODBC/AdministratorManual/unixODBCsetup.html
+%%PORTDOCS%%share/doc/unixODBC/ProgrammerManual/Tutorial/close.html
+%%PORTDOCS%%share/doc/unixODBC/ProgrammerManual/Tutorial/conne.html
+%%PORTDOCS%%share/doc/unixODBC/ProgrammerManual/Tutorial/dsn.html
+%%PORTDOCS%%share/doc/unixODBC/ProgrammerManual/Tutorial/gloss.html
+%%PORTDOCS%%share/doc/unixODBC/ProgrammerManual/Tutorial/index.html
+%%PORTDOCS%%share/doc/unixODBC/ProgrammerManual/Tutorial/intro.html
+%%PORTDOCS%%share/doc/unixODBC/ProgrammerManual/Tutorial/navi.html
+%%PORTDOCS%%share/doc/unixODBC/ProgrammerManual/Tutorial/odbc.css
+%%PORTDOCS%%share/doc/unixODBC/ProgrammerManual/Tutorial/query.html
+%%PORTDOCS%%share/doc/unixODBC/ProgrammerManual/Tutorial/resul.html
+%%PORTDOCS%%share/doc/unixODBC/ProgrammerManual/index.html
+%%PORTDOCS%%share/doc/unixODBC/ProgrammerManual/unixODBC.gif
+%%PORTDOCS%%share/doc/unixODBC/UserManual/Figure1.gif
+%%PORTDOCS%%share/doc/unixODBC/UserManual/Figure2.gif
+%%PORTDOCS%%share/doc/unixODBC/UserManual/Figure3.gif
+%%PORTDOCS%%share/doc/unixODBC/UserManual/Figure4.gif
+%%PORTDOCS%%share/doc/unixODBC/UserManual/Figure6.gif
+%%PORTDOCS%%share/doc/unixODBC/UserManual/My.sql
+%%PORTDOCS%%share/doc/unixODBC/UserManual/StarOfficeDataGrid.gif
+%%PORTDOCS%%share/doc/unixODBC/UserManual/index.html
+%%PORTDOCS%%share/doc/unixODBC/UserManual/unixODBC.gif
+%%PORTDOCS%%share/doc/unixODBC/index.html
+%%PORTDOCS%%share/doc/unixODBC/lst/InternalStructure.gif
+%%PORTDOCS%%share/doc/unixODBC/lst/InternalStructure.html
+%%PORTDOCS%%share/doc/unixODBC/lst/InternalStructure.vsd
+%%PORTDOCS%%share/doc/unixODBC/lst/InternalStructure2.gif
+%%PORTDOCS%%share/doc/unixODBC/lst/InternalStructure2.html
+%%PORTDOCS%%share/doc/unixODBC/lst/InternalStructure3.gif
+%%PORTDOCS%%share/doc/unixODBC/lst/InternalStructure3.html
+%%PORTDOCS%%share/doc/unixODBC/lst/InternalStructure4.gif
+%%PORTDOCS%%share/doc/unixODBC/lst/InternalStructure4.html
+%%PORTDOCS%%share/doc/unixODBC/lst/InternalStructure5.gif
+%%PORTDOCS%%share/doc/unixODBC/lst/InternalStructure5.html
+%%PORTDOCS%%share/doc/unixODBC/lst/InternalStructure6.gif
+%%PORTDOCS%%share/doc/unixODBC/lst/InternalStructure6.html
+%%PORTDOCS%%share/doc/unixODBC/lst/InternalStructure7.gif
+%%PORTDOCS%%share/doc/unixODBC/lst/InternalStructure7.html
+%%PORTDOCS%%share/doc/unixODBC/lst/InternalStructure8.gif
+%%PORTDOCS%%share/doc/unixODBC/lst/InternalStructure8.html
+%%PORTDOCS%%share/doc/unixODBC/lst/InternalStructure9.gif
+%%PORTDOCS%%share/doc/unixODBC/lst/InternalStructure9.html
+%%PORTDOCS%%share/doc/unixODBC/lst/back.gif
+%%PORTDOCS%%share/doc/unixODBC/lst/next.gif
+%%PORTDOCS%%share/doc/unixODBC/smallbook.gif
+%%PORTDOCS%%share/doc/unixODBC/sqi/InternalStructure.gif
+%%PORTDOCS%%share/doc/unixODBC/sqi/InternalStructure.html
+%%PORTDOCS%%share/doc/unixODBC/sqi/InternalStructure.vsd
+%%PORTDOCS%%share/doc/unixODBC/sqi/InternalStructure2.gif
+%%PORTDOCS%%share/doc/unixODBC/sqi/InternalStructure2.html
+%%PORTDOCS%%share/doc/unixODBC/sqi/back.gif
+%%PORTDOCS%%share/doc/unixODBC/sqi/next.gif
+%%PORTDOCS%%share/doc/unixODBC/unixODBC.gif
+%%PORTDOCS%%@dirrm share/doc/unixODBC/sqi
+%%PORTDOCS%%@dirrm share/doc/unixODBC/lst
+%%PORTDOCS%%@dirrm share/doc/unixODBC/UserManual
+%%PORTDOCS%%@dirrm share/doc/unixODBC/ProgrammerManual/Tutorial
+%%PORTDOCS%%@dirrm share/doc/unixODBC/ProgrammerManual
+%%PORTDOCS%%@dirrm share/doc/unixODBC/AdministratorManual
+%%PORTDOCS%%@dirrm share/doc/unixODBC


>Release-Note:
>Audit-Trail:

From: "KATO Tsuguru" <tkato@prontomail.ne.jp>
To: freebsd-gnats-submit@FreeBSD.org
Cc:  
Subject: Re: ports/24601: Update port: databases/unixODBC
Date: Wed, 24 Jan 2001 22:07:21 +0900

 > >Description:
 > - Add missing file (bin/isql) to pkg-plist
 
 Oops, missing file is 'bin/sqi'. Sorry!
 
 
 -- 
 KATO Tsuguru / tkato@prontomail.ne.jp
                              
 Sent by Japanese ProntoMail
 
State-Changed-From-To: open->closed 
State-Changed-By: kevlo 
State-Changed-When: Wed Jan 24 22:48:19 PST 2001 
State-Changed-Why:  
Committed, thanks. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=24601 
>Unformatted:
