mirror of
https://github.com/openbsd/ports.git
synced 2026-06-18 15:33:55 +02:00
Update to 3.52.4
This commit is contained in:
+12
-11
@@ -1,11 +1,12 @@
|
||||
# $OpenBSD: Makefile,v 1.9 2006/01/10 18:47:52 espie Exp $
|
||||
# $OpenBSD: Makefile,v 1.10 2006/07/18 19:44:27 alek Exp $
|
||||
|
||||
COMMENT= "ODBC 2.x driver manager"
|
||||
COMMENT= "ODBC 3.x driver manager"
|
||||
|
||||
DISTNAME= libiodbc-2.50.3
|
||||
PKGNAME= iodbc-2.50.3p0
|
||||
DISTNAME= libiodbc-3.52.4
|
||||
PKGNAME= ${DISTNAME:S/lib//}
|
||||
CATEGORIES= databases
|
||||
SHARED_LIBS= iodbc 2.50
|
||||
SHARED_LIBS= iodbc 3.15 \
|
||||
iodbcinst 3.15
|
||||
|
||||
HOMEPAGE= http://www.iodbc.org/
|
||||
|
||||
@@ -16,20 +17,20 @@ PERMIT_PACKAGE_CDROM= yes
|
||||
PERMIT_PACKAGE_FTP= yes
|
||||
PERMIT_DISTFILES_CDROM= yes
|
||||
PERMIT_DISTFILES_FTP= yes
|
||||
WANTLIB= c pthread
|
||||
|
||||
MASTER_SITES= ${HOMEPAGE}downloads/iODBC/
|
||||
|
||||
USE_LIBTOOL= Yes
|
||||
|
||||
CONFIGURE_STYLE= gnu
|
||||
CONFIGURE_ARGS+= --with-iodbc-inidir="${SYSCONFDIR}"
|
||||
CONFIGURE_ARGS= --with-iodbc-inidir="${SYSCONFDIR}/iodbc" \
|
||||
--disable-gui \
|
||||
--disable-libodbc
|
||||
|
||||
post-install:
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/iodbc
|
||||
${INSTALL_DATA} ${WRKSRC}/COPYING ${PREFIX}/share/doc/iodbc
|
||||
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/iodbc
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/iodbc
|
||||
${INSTALL_DATA} ${WRKSRC}/odbc.ini.sample \
|
||||
${PREFIX}/share/examples/iodbc/odbc.ini
|
||||
${INSTALL_DATA} ${WRKSRC}/etc/*.ini.sample \
|
||||
${PREFIX}/share/examples/iodbc
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
MD5 (libiodbc-2.50.3.tar.gz) = 5d23b748d4c57d61a004395cea5ff0f0
|
||||
RMD160 (libiodbc-2.50.3.tar.gz) = e224c023ac039ba35566f3a7a0d79e493d83971f
|
||||
SHA1 (libiodbc-2.50.3.tar.gz) = 00586122fe823fac67031c3d4866a817c19f4f33
|
||||
SIZE (libiodbc-2.50.3.tar.gz) = 167249
|
||||
MD5 (libiodbc-3.52.4.tar.gz) = 65ddf72600ff5d15fcd6002e2ed36307
|
||||
RMD160 (libiodbc-3.52.4.tar.gz) = e0f3e15f282394821a5515791535d0a576d61368
|
||||
SHA1 (libiodbc-3.52.4.tar.gz) = 1fd95bf06e0f289c8aa813780624bac7a1cfca2d
|
||||
SIZE (libiodbc-3.52.4.tar.gz) = 722305
|
||||
|
||||
@@ -0,0 +1,21 @@
|
||||
$OpenBSD: patch-configure,v 1.1 2006/07/18 19:44:27 alek Exp $
|
||||
--- configure.orig Sun Jun 25 14:32:14 2006
|
||||
+++ configure Sun Jun 25 14:32:18 2006
|
||||
@@ -22774,7 +22774,7 @@ fi
|
||||
echo "$as_me:$LINENO: checking for pthread_mutex_lock in -lpthread " >&5
|
||||
echo $ECHO_N "checking for pthread_mutex_lock in -lpthread ... $ECHO_C" >&6
|
||||
ac_save_LIBS="$LIBS"
|
||||
-LIBS="-lpthread $LIBS"
|
||||
+LIBS="-pthread $LIBS"
|
||||
|
||||
cat >conftest.$ac_ext <<_ACEOF
|
||||
/* confdefs.h. */
|
||||
@@ -22835,7 +22835,7 @@ if eval "test \"`echo '$ac_cv_lib_'$ac_l
|
||||
echo "$as_me:$LINENO: result: yes" >&5
|
||||
echo "${ECHO_T}yes" >&6
|
||||
|
||||
- LIBS="$LIBS -lpthread"
|
||||
+ LIBS="$LIBS -pthread"
|
||||
found_lib=true
|
||||
|
||||
else
|
||||
@@ -1,16 +0,0 @@
|
||||
--- henv.ci.orig Sat Apr 24 03:39:14 1999
|
||||
+++ henv.ci Tue Nov 28 10:55:35 2000
|
||||
@@ -29,12 +29,10 @@
|
||||
* on HP/UX s300/s400, CLI_NAME_PREFIX is defined in Config.mk as "_SQL"
|
||||
* on AIX 3.x 4.x, CLI_NAME_PREFIX is defined in Config.mk as ".SQL"
|
||||
*/
|
||||
-#ifndef CLI_NAME_PREFIX
|
||||
+#ifndef NEED_USCORE
|
||||
# define CLI_NAME_PREFIX "SQL" /* using call by value prefix */
|
||||
#else
|
||||
-# ifdef USE_SYMBOL_UNDERSCORE
|
||||
# define CLI_NAME_PREFIX "_SQL"
|
||||
-# endif
|
||||
#endif
|
||||
|
||||
static struct
|
||||
@@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-include_sqltypes_h,v 1.1 2006/07/18 19:44:27 alek Exp $
|
||||
--- include/sqltypes.h.orig Thu Jan 26 10:50:59 2006
|
||||
+++ include/sqltypes.h Sun Jun 25 14:26:29 2006
|
||||
@@ -396,7 +396,7 @@ typedef unsigned short SQLWCHAR;
|
||||
|
||||
# if defined(__cplusplus) || \
|
||||
defined(_WCHAR_T) || \
|
||||
- defined(_WCHAR_T_DEFINED) || \
|
||||
+ defined(_WCHAR_T_DEFINED_) || \
|
||||
defined(_WCHAR_T_DECLARED) || \
|
||||
defined(_BSD_WCHAR_T_DEFINED_) || \
|
||||
defined(_BSD_WCHAR_T_)
|
||||
@@ -0,0 +1,16 @@
|
||||
$OpenBSD: patch-samples_Makefile_in,v 1.1 2006/07/18 19:44:27 alek Exp $
|
||||
--- samples/Makefile.in.orig Sun Jun 25 15:50:39 2006
|
||||
+++ samples/Makefile.in Sun Jun 25 15:51:08 2006
|
||||
@@ -571,9 +571,9 @@ uninstall-am: uninstall-binPROGRAMS unin
|
||||
|
||||
|
||||
install-exec-hook:
|
||||
- $(mkinstalldirs) ${DESTDIR}${pkgdatadir}/samples
|
||||
- cp $(srcdir)/iodbctest.c ${DESTDIR}${pkgdatadir}/samples/iodbctest.c
|
||||
- cp $(srcdir)/Makefile.sample ${DESTDIR}${pkgdatadir}/samples/Makefile
|
||||
+ $(mkinstalldirs) ${DESTDIR}${datadir}/examples/iodbc
|
||||
+ cp $(srcdir)/iodbctest.c ${DESTDIR}${datadir}/examples/iodbc/iodbctest.c
|
||||
+ cp $(srcdir)/Makefile.sample ${DESTDIR}${datadir}/examples/iodbc/Makefile
|
||||
|
||||
uninstall-hook:
|
||||
rm -f ${DESTDIR}${pkgdatadir}/samples/iodbctest.c
|
||||
@@ -1,2 +1,3 @@
|
||||
@comment $OpenBSD: PFRAG.shared,v 1.3 2005/12/26 21:32:01 sturm Exp $
|
||||
@comment $OpenBSD: PFRAG.shared,v 1.4 2006/07/18 19:44:27 alek Exp $
|
||||
@lib lib/libiodbc.so.${LIBiodbc_VERSION}
|
||||
@lib lib/libiodbcinst.so.${LIBiodbcinst_VERSION}
|
||||
|
||||
@@ -1,15 +1,33 @@
|
||||
@comment $OpenBSD: PLIST,v 1.3 2004/08/08 16:50:45 espie Exp $
|
||||
@comment $OpenBSD: PLIST,v 1.4 2006/07/18 19:44:27 alek Exp $
|
||||
%%SHARED%%
|
||||
bin/iodbc-config
|
||||
bin/iodbctest
|
||||
bin/iodbctestw
|
||||
include/iodbcext.h
|
||||
include/iodbcinst.h
|
||||
include/iodbcunix.h
|
||||
include/isql.h
|
||||
include/isqlext.h
|
||||
include/isqltypes.h
|
||||
include/odbcinst.h
|
||||
include/sql.h
|
||||
include/sqlext.h
|
||||
include/sqltypes.h
|
||||
include/sqlucode.h
|
||||
lib/libiodbc.a
|
||||
lib/libiodbc.la
|
||||
share/doc/iodbc/
|
||||
share/doc/iodbc/COPYING
|
||||
share/doc/iodbc/README
|
||||
lib/libiodbcinst.a
|
||||
lib/libiodbcinst.la
|
||||
lib/pkgconfig/
|
||||
lib/pkgconfig/libiodbc.pc
|
||||
@man man/man1/iodbc-config.1
|
||||
@man man/man1/iodbctest.1
|
||||
@man man/man1/iodbctestw.1
|
||||
share/examples/iodbc/
|
||||
share/examples/iodbc/odbc.ini
|
||||
%%SHARED%%
|
||||
@sample ${SYSCONFDIR}/iodbc/
|
||||
share/examples/iodbc/Makefile
|
||||
share/examples/iodbc/iodbctest.c
|
||||
share/examples/iodbc/odbc.ini.sample
|
||||
@sample ${SYSCONFDIR}/iodbc/odbc.ini
|
||||
share/examples/iodbc/odbcinst.ini.sample
|
||||
@sample ${SYSCONFDIR}/iodbc/odbcinst.ini
|
||||
|
||||
Reference in New Issue
Block a user